fixed reasoning failures (#634)

* fixed reasoning failures

* adding debugging

* made several fixes for transmission isses for SSeEvents, incomplete handling of json types by anthropic, and wrote a bunch of tests

* removed debugging from supervisord.conf

---------

Co-authored-by: Salman Paracha <salmanparacha@MacBook-Pro-342.local>
This commit is contained in:
Salman Paracha 2025-12-18 11:02:59 -08:00 committed by GitHub
parent 2f9121407b
commit 48bbc7cce7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 360 additions and 68 deletions

View file

@ -595,7 +595,7 @@ def test_openai_responses_api_streaming_with_tools_upstream_anthropic():
stream = client.responses.create(
model="claude-sonnet-4-20250514",
input="Call the echo tool",
input="Call the echo tool with hello_world",
tools=tools,
stream=True,
)