-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Open
Labels
Description
What happened?
Similar to for web_search that was recently fixed
fix(anthropic): preserve server_tool_use and web_search_tool_result in multi-turn conversations by @Chesars in #17746 (v1.80.9.dev6)
fix(anthropic): capture web_search_tool_result in streaming for multi-turn conversations by @Chesars in #17798 (v1.80.9.dev6)
The same need to be done for web fetch.
Relevant log output
litellm.BadRequestError: AnthropicException - b'{"type":"error","error":{"type":"invalid_request_error","message":"messages.1: `web_fetch` tool use with id `srvtoolu_013RficL6Wtf5QKtFMRAzSv9` was found without a corresponding `web_fetch_tool_result` block"},"request_id":"req_011CWCbwKvgT6iM6LmU6t2gG"}'What part of LiteLLM is this about?
SDK (litellm Python package)
What LiteLLM version are you on ?
v1.80.10
Twitter / LinkedIn details
No response