paper-qa icon indicating copy to clipboard operation
paper-qa copied to clipboard

Anthropic Claude command line usage

Open apaz-cli opened this issue 1 year ago • 1 comments

Trying to use Claude to index a folder from the command line.

pqa \
  --llm "anthropic/litellm-claude-3-5-sonnet-20241022" \
  --summary_llm "anthropic/litellm-claude-3-5-sonnet-20241022" \
  index .

But although my API key is set, I get:

litellm.exceptions.NotFoundError: litellm.NotFoundError: AnthropicException - Client error '404 Not Found' for url 'https://api.anthropic.com/v1/messages'

I did a lot of code reading to figure out the prefixes I needed, an example would probably help the docs. Is there another setting that I need to use to switch API versions?

apaz-cli avatar Nov 04 '24 06:11 apaz-cli