fix(openai.py): initial commit adding generic event type for openai responses api streaming

Ensures handling for undocumented event types - e.g. "response.reasoning_summary_part.added"
This commit is contained in:
Krrish Dholakia 2025-04-22 08:39:03 -07:00
parent ebfff975d4
commit 6581712dba
3 changed files with 32 additions and 1 deletions

View file

@ -470,3 +470,4 @@ class TestOpenAIGPT4OAudioTranscription(BaseLLMAudioTranscriptionTest):
def get_custom_llm_provider(self) -> litellm.LlmProviders:
return litellm.LlmProviders.OPENAI