Skip to content

Commit

Permalink
Clarify details
Browse files Browse the repository at this point in the history
  • Loading branch information
kardolus committed Jun 2, 2024
1 parent 79d8086 commit 6472bfa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,15 +193,15 @@ Configuration variables:
| `models_path` | The API endpoint for accessing model information. | '/v1/models' |
| `auth_header` | The header used for authorization in API requests. | 'Authorization' |
| `auth_token_prefix` | The prefix to be added before the token in the `auth_header`. | 'Bearer ' |
| `command_prompt` | The command prompt in interactive mode. | '[%datetime] [Q%counter]' |
| `command_prompt` | The command prompt in interactive mode. Should be single-quoted. | '[%datetime] [Q%counter]' |

#### Variables for interactive mode:

- `%date`: The current date in the format `YYYY-MM-DD`.
- `%time`: The current time in the format `HH:MM:SS`.
- `%datetime`: The current date and time in the format `YYYY-MM-DD HH:MM:SS`.
- `%counter`: The current counter value.
- `%usage`: The current usage value.
- `%usage`: The current usage in total tokens used (only works in query mode).

The defaults can be overridden by providing your own values in the user configuration file,
named `.chatgpt-cli/config.yaml`, located in your home directory.
Expand Down

0 comments on commit 6472bfa

Please sign in to comment.