Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

fix: claude #188

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

fix: claude #188

wants to merge 1 commit into from

Conversation

user-tony
Copy link

image

This is a problem caused by the update of Anthropic API. In the new version of Anthropic API, the way messages are sent has changed and the messages property is no longer used. Let me modify the code to solve this problem.

The main changes are as follows:

Simplified the message format and removed unnecessary nested content structures
Directly use strings as message content instead of using dictionary structures

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant