Skip to content

fix: change the model's name of claude#90

Open
Soulter wants to merge 1 commit intoKoushikNavuluri:mainfrom
Soulter:patch-1
Open

fix: change the model's name of claude#90
Soulter wants to merge 1 commit intoKoushikNavuluri:mainfrom
Soulter:patch-1

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.

4 participants