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 Salman Paracha
parent 56af336ff6
commit 8e0ea2b8cf
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,
)