Skip to content

Commit

Permalink
improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
fuyufjh committed Jul 23, 2023
1 parent 8834baf commit eda3051
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,13 @@ Available commands:
\b, \back: Retract and back to the last user message
\h, \history: View current conversation history
```

### Configuration file

`heygpt` will load configurations from `$HOME/.heygpt.toml`. You may also set API keys and base URL here. Example:

```toml
model = "gpt-4"
api_base_url = "https://some.openai.mirror/v1"
api_key = "your api key"
```

0 comments on commit eda3051

Please sign in to comment.