#Claude 3.5 sonnet tool call empty response
28 messages · Page 1 of 1 (latest)
Am I missing something in the request?
I will add that if I use gpt4o or gemini, this exact same request works perfectly
Also note that I use it through OpenAI lib
Hmm @fading nexus I couldn't reproduce yesterday. Would you mind share the full code you used to invoke the above payload?
@little knot I am getting some users reporting the same, looking at the logs just empty response
also using openai js sdk
doesnt happen all the time but happens often
Do you log the provider returning the empty result?
user sent me logs from app, and response was empty
I will try to reproduce and will send you request / response if that is helpful
That'd be great
May be its a feature :)) I've seen Sonnet respond with empty string - means its done and nothing else to do
I'll send you sreenshots first, and then logs
Its only happens on anthropic/claude-3.5-sonnet .
anthropic/claude-3.5-sonnet:beta behaves as expected
woh no way.....
^ anthropic direct api
:beta (see model at the top)
anthropic/claude-3.5-sonnet
Last message is just empty
Can you check the provider that's returning empty message?
Amazon
I suspect it's Amazon
HOLY SHUT
Will work on a fix for this today, together with the issue we've got reported with Gemini 2 Flash as well
BTW, could you also share the full request in JSON form?
I think I have an idea of what the shape might trigger this error (we have monitor)
but if you can share your request, I can make sure it works on my test
(feel free to DM me or @blissful oriole )
Done