From e5266daab6ce528c647bac20b8d9bc3a0ec54f87 Mon Sep 17 00:00:00 2001 From: Brandon Zarnitz Date: Tue, 5 May 2026 13:42:03 -0400 Subject: [PATCH] Fix typo in openai_chatcompletions.py --- src/cai/sdk/agents/models/openai_chatcompletions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cai/sdk/agents/models/openai_chatcompletions.py b/src/cai/sdk/agents/models/openai_chatcompletions.py index 8931edd63..872795813 100644 --- a/src/cai/sdk/agents/models/openai_chatcompletions.py +++ b/src/cai/sdk/agents/models/openai_chatcompletions.py @@ -4055,7 +4055,7 @@ def ensure_assistant_message() -> ChatCompletionAssistantMessageParam: elif c["type"] == "refusal": new_asst["refusal"] = c["refusal"] elif c["type"] == "output_audio": - # Can't handle this, b/c chat completions expects an ID which we dont have + # Can't handle this, b/c chat completions expects an ID which we don't have raise UserError( "🎵 Audio content must use audio IDs - Direct audio data not supported" )