Skip to content

Commit

Permalink
chore: prompt_submit_length默认改为3072
Browse files Browse the repository at this point in the history
  • Loading branch information
RockChinQ committed Dec 23, 2023
1 parent db51fd0 commit 6a5414b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@ claude.json
bard.json
/*yaml
!/docker-compose.yaml
res/instance_id.json
res/instance_id.json
.DS_Store
2 changes: 1 addition & 1 deletion config-template.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@
# 每次向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中编辑提示语
Expand Down

0 comments on commit 6a5414b

Please sign in to comment.