-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Using GPT Pilot with Anthropic models
Senko Rašić edited this page Jun 6, 2024
·
11 revisions
To use Anthropic, you'll need their API key. Then edit config.json
file and edit the llm
section to look like this:
"llm": {
"anthropic": {
"base_url": null,
"api_key": "your-anthropic-key",
"connect_timeout": 60.0,
"read_timeout": 10.0
}
},
If you're using Anthropic via a proxy or through AWS Bedrock, you'll also need to set base_url
accordingly.
Then also replace "provider": "openai"
with "provider": "anthropic"
for default
, CodeMonkey
and any other agents defined in the agents
section.
To get the correct Anthropic model name, check their models overview documentation.