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

Claude token support #2

Open
knoel99 opened this issue Jun 24, 2024 · 1 comment
Open

Claude token support #2

knoel99 opened this issue Jun 24, 2024 · 1 comment

Comments

@knoel99
Copy link

knoel99 commented Jun 24, 2024

I wanted to test Claude Sonnet 3.5 like you showed on X, but I got an error:

echo "YOUR_ANTHROPIC_TOKEN" > ~/.config/anthropic.token
$ chatsh s
Error: openai.token file not found in ~/.config/
Please make sure the file exists and contains your OpenAI API token.

I tried to select Claude model based on this code, but it didn't work. Could you add the commands to do so.

s: 'claude-3-5-sonnet-20240620',

Thanks a lot.

@abdulhdr1
Copy link

it seems like this is an old issue, claude-3-5-sonnet-20240620 is the new default.

try to:

  1. pull the repo
  2. run npm i to update the packages
  3. check if you got your anthropic token set in ~/.config/anthropic.token
  4. run ./chatsh.mjs or just chatsh if you already have it linked, you don't need to pass the model param if you want to use the default one

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

No branches or pull requests

2 participants