Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix LitellmChatModel tool_choice parameter to force Anthropic tool use #268

Merged
merged 3 commits into from
Jul 15, 2024

Conversation

jackmpcollins
Copy link
Owner

Two tests were failing due to Claude returning a chain-of-thought response. The tool_choice param was not being put to best use on the LitellmChatModel to combat this.

@jackmpcollins jackmpcollins self-assigned this Jul 15, 2024
@jackmpcollins jackmpcollins merged commit 76f9e12 into main Jul 15, 2024
2 checks passed
@jackmpcollins jackmpcollins deleted the fix-litellm-forced-tool-calls branch July 15, 2024 06:37
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant