chore: prompt_submit_length默认改为3072

This commit is contained in:
RockChinQ 2023-12-23 10:31:56 +08:00
parent db51fd0ad7
commit 6a5414b5fd
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View File

@ -31,4 +31,5 @@ claude.json
bard.json
/*yaml
!/docker-compose.yaml
res/instance_id.json
res/instance_id.json
.DS_Store

View File

@ -200,7 +200,7 @@ encourage_sponsor_at_start = True
# 每次向OpenAI接口发送对话记录上下文的字符数
# 最大不超过(4096 - max_tokens)个字符max_tokens为下方completion_api_params中的max_tokens
# 注意较大的prompt_submit_length会导致OpenAI账户额度消耗更快
prompt_submit_length = 2048
prompt_submit_length = 3072
# 是否在token超限报错时自动重置会话
# 可在tips.py中编辑提示语