diff --git a/src/cai/sdk/agents/models/openai_chatcompletions.py b/src/cai/sdk/agents/models/openai_chatcompletions.py index 8931edd63..b981d5da4 100644 --- a/src/cai/sdk/agents/models/openai_chatcompletions.py +++ b/src/cai/sdk/agents/models/openai_chatcompletions.py @@ -3305,7 +3305,6 @@ async def _fetch_response_litellm_openai( try: if stream: # Standard LiteLLM handling for streaming - ret = await litellm.acompletion(**kwargs) stream_obj = await litellm.acompletion(**kwargs) response = Response( @@ -3359,7 +3358,6 @@ async def _fetch_response_litellm_openai( kwargs["messages"] = messages # Retry once, silently if stream: - ret = await litellm.acompletion(**kwargs) stream_obj = await litellm.acompletion(**kwargs) response = Response( id=FAKE_RESPONSES_ID,