Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Fix Anthropic serialization bug. #1338

Merged
merged 1 commit into from
Apr 4, 2025
Merged

Fix Anthropic serialization bug. #1338

merged 1 commit into from
Apr 4, 2025

Conversation

blkt
Copy link
Contributor

@blkt blkt commented Apr 4, 2025

Excluding defaults caused tool_choice to become an empty dictionary in case {"type": "auto"} was explicitly provider by the client.

Also, we were using the wrong method.

Excluding defaults caused `tool_choice` to become an empty dictionary
in case `{"type": "auto"}` was explicitly provider by the client.

Also, we were using the wrong method.
@blkt blkt self-assigned this Apr 4, 2025
@blkt blkt merged commit 02d218b into main Apr 4, 2025
8 of 11 checks passed
@blkt blkt deleted the fix/fix-anthropic-serde branch April 4, 2025 12:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants