From d1aafa11153ab689c21c2c57c47da52337d8e8d1 Mon Sep 17 00:00:00 2001 From: sigoden Date: Tue, 23 Apr 2024 16:46:48 +0800 Subject: feat: customize model's max_output_tokens (#428) --- config.example.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'config.example.yaml') 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 -- cgit v1.2.3