We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89a2ac2 commit 9baa8d9Copy full SHA for 9baa8d9
livekit-plugins/livekit-plugins-google/livekit/plugins/google/llm.py
@@ -300,11 +300,8 @@ async def _run(self) -> None:
300
or not response.candidates[0].content
301
or not response.candidates[0].content.parts
302
):
303
- raise APIStatusError(
304
- "No candidates in the response",
305
- retryable=True,
306
- request_id=request_id,
307
- )
+ logger.warning(f"no candidates in the response: {response}")
+ continue
308
309
if len(response.candidates) > 1:
310
logger.warning(
0 commit comments