summaryrefslogtreecommitdiffstats
path: root/config.example.yaml
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-04-23 16:46:48 +0800
committerGitHub <noreply@github.com>2024-04-23 16:46:48 +0800
commitd1aafa11153ab689c21c2c57c47da52337d8e8d1 (patch)
treedc20dc033e9d376aab09941835a842b22fe32c02 /config.example.yaml
parent1cc89eff514669d6459f62cc4eed8e0b34d8ef0c (diff)
downloadaichat-d1aafa11153ab689c21c2c57c47da52337d8e8d1.tar.gz
feat: customize model's max_output_tokens (#428)
Diffstat (limited to 'config.example.yaml')
-rw-r--r--config.example.yaml9
1 files changed, 8 insertions, 1 deletions
diff --git a/config.example.yaml b/config.example.yaml
index e3829a1..deed762 100644
--- a/config.example.yaml
+++ b/config.example.yaml
@@ -28,7 +28,14 @@ right_prompt: '{color.purple}{?session {?consume_tokens {consume_tokens}({consum
clients:
# All clients have the following configuration:
# - type: xxxx
- # name: nova # Only use it to distinguish clients with the same client type. Optional
+ # name: xxxx # Only use it to distinguish clients with the same client type. Optional
+ # models:
+ # - name: xxxx # The model name
+ # max_input_tokens: 100000 # Optional field
+ # max_output_tokens: 4096 # Optional field
+ # capabilities: text,vision # Optional field, supported capabilities: text, vision
+ # extra_fields: # Optional field, set custom parameters, will merge with the body json
+ # key: value
# extra:
# proxy: socks5://127.0.0.1:1080 # Specify https/socks5 proxy server. Note HTTPS_PROXY/ALL_PROXY also works.
# connect_timeout: 10 # Set a timeout in seconds for connect to server