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: change the model's name of claude #90

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

Conversation

Soulter
Copy link

@Soulter Soulter commented Dec 23, 2023

Hi, I found that recently Claude has changed their model's name from claude-2 to claude-2.0. The change will result in some errors:

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

r":{"type":"permission_error","message":"Invalid model","code":"model_not_allowed"}}

After I change the name of model, it works again.

@x4080
Copy link

x4080 commented Dec 29, 2023

I did change but still errors (maybe not related) :

...
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Yours still working ?

Edit : its working now

@Soulter
Copy link
Author

Soulter commented Dec 29, 2023

@KoushikNavuluri LGTM

@chrvsd
Copy link

chrvsd commented Jan 10, 2024

I just confirmed that this still requires "model": "claude-2.0" to be set otherwise it throws:

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Please continue with this merge and update version 😇

@johnd0e
Copy link

johnd0e commented Jan 19, 2024

I just confirmed that this still requires "model": "claude-2.0" to be set otherwise it throws:

Or "claude-2.1"

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.

None yet

4 participants