Skip to content

Commit

Permalink
Doc: add TOGETHER_API_KEY to keys.cfg section of README (#34)
Browse files Browse the repository at this point in the history
I noticed there is also a `TOGETHER_API_KEY` key that can be set in `keys.cfg`, but it wasn't mentioned in the README, so wanted to add it:

https://github.com/princeton-nlp/SWE-agent/blob/6c9ebf0ea8a263806b276da7ba3b1eda1f4a9475/sweagent/agent/models.py#L509-L511
  • Loading branch information
0xdevalias committed Apr 4, 2024
1 parent 6c9ebf0 commit 7903883
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ Read our paper for more details.
4. Run `./setup.sh` to create the `swe-agent` docker image.
5. Create a `keys.cfg` file at the root of this repository and fill in the following:
```
GITHUB_TOKEN: 'GitHub Token Here (required)'
OPENAI_API_KEY: 'OpenAI API Key Here if using OpenAI Model (optional)'
ANTHROPIC_API_KEY: 'Anthropic API Key Here if using Anthropic Model (optional)'
GITHUB_TOKEN: 'GitHub Token Here (required)'
TOGETHER_API_KEY: 'Together API Key Here if using Together Model (optional)'
```
See the following links for tutorials on obtaining [Anthropic](https://docs.anthropic.com/claude/reference/getting-started-with-the-api), [OpenAI](https://platform.openai.com/docs/quickstart/step-2-set-up-your-api-key), and [Github](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) tokens.

Expand Down

0 comments on commit 7903883

Please sign in to comment.