Skip to content

Commit 87934b0

Browse files
committed
Update devchat prompt --help text
1 parent 3825b59 commit 87934b0

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

devchat/_cli/prompt.py

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -49,17 +49,11 @@ def prompt(content: Optional[str], parent: Optional[str], reference: Optional[Li
4949
Configuration
5050
-------------
5151
52-
DevChat CLI reads configuration from `~/.chat/config.json`
52+
DevChat CLI reads configuration from `~/.chat/config.yml`
5353
(if `~/.chat` is not accessible, it will try `.chat` in your current Git or SVN root directory).
54-
Otherwise, it uses the following default configuration:
55-
```yaml
56-
gpt-4:
57-
max_input_tokens: 6000
58-
temperature: 0
59-
provider: openai.com
60-
```
54+
You can edit the file to modify default configuration.
6155
62-
Note: To use OpenAI's APIs, you must have an API key to run the CLI.
56+
To use OpenAI's APIs, you have to set an API key by the environment variable `OPENAI_API_KEY`.
6357
Run the following command line with your API key:
6458
6559
```bash

0 commit comments

Comments
 (0)