Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Fix Anthropic serialization bug.#1338

Merged
blkt merged 1 commit into
mainstacklok/codegate:mainfrom
fix/fix-anthropic-serdestacklok/codegate:fix/fix-anthropic-serdeCopy head branch name to clipboard
Apr 4, 2025
Merged

Fix Anthropic serialization bug.#1338
blkt merged 1 commit into
mainstacklok/codegate:mainfrom
fix/fix-anthropic-serdestacklok/codegate:fix/fix-anthropic-serdeCopy head branch name to clipboard

Conversation

@blkt

@blkt blkt commented Apr 4, 2025

Copy link
Copy Markdown
Contributor

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
@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.