Skip to content

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

Open
Soulter wants to merge 1 commit into
KoushikNavuluri:mainfrom
Soulter:patch-1
Open

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

Conversation

@Soulter

@Soulter Soulter commented Dec 23, 2023

Copy link
Copy Markdown

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

x4080 commented Dec 29, 2023

Copy link
Copy Markdown

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

Soulter commented Dec 29, 2023

Copy link
Copy Markdown
Author

@KoushikNavuluri LGTM

@chrvsd

chrvsd commented Jan 10, 2024

Copy link
Copy Markdown

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

johnd0e commented Jan 19, 2024

Copy link
Copy Markdown

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