Skip to content

Commit

Permalink
fix readme env vars (All-Hands-AI#199)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbren authored Mar 26, 2024
1 parent ecadff3 commit 4ee0ae9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,12 @@ You'll see OpenDevin running at localhost:3001
We use LiteLLM, so you can run OpenDevin with any foundation model, including OpenAI, Claude, and Gemini.
LiteLLM has a [full list of providers](https://docs.litellm.ai/docs/providers).

To change the model, set the `MODEL_NAME` environment variable, as well as the appropriate
API key based on LiteLLM's [provider documentation](https://docs.litellm.ai/docs/providers).
To change the model, set the `LLM_MODEL` and `LLM_API_KEY` environment variables.

For example, to run Claude:
```bash
export ANTHROPIC_API_KEY="your-api-key"
export MODEL_NAME="claude-3-opus-20240229"
export LLM_API_KEY="your-api-key"
export LLM_MODEL="claude-3-opus-20240229"
```

## 🤔 What is [Devin](https://www.cognition-labs.com/introducing-devin)?
Expand Down

0 comments on commit 4ee0ae9

Please sign in to comment.