mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-17 01:46:07 +00:00
chore: 添加开关和提示语配置项
This commit is contained in:
@@ -195,6 +195,10 @@ encourage_sponsor_at_start = True
|
|||||||
# 注意:较大的prompt_submit_length会导致OpenAI账户额度消耗更快
|
# 注意:较大的prompt_submit_length会导致OpenAI账户额度消耗更快
|
||||||
prompt_submit_length = 2048
|
prompt_submit_length = 2048
|
||||||
|
|
||||||
|
# 是否在token超限报错时自动重置会话
|
||||||
|
# 可在tips.py中编辑提示语
|
||||||
|
auto_reset = True
|
||||||
|
|
||||||
# OpenAI补全API的参数
|
# OpenAI补全API的参数
|
||||||
# 请在下方填写模型,程序自动选择接口
|
# 请在下方填写模型,程序自动选择接口
|
||||||
# 现已支持的模型有:
|
# 现已支持的模型有:
|
||||||
|
|||||||
@@ -32,3 +32,6 @@ command_err_message = "[bot]err:指令不存在:"
|
|||||||
# 会话重置提示
|
# 会话重置提示
|
||||||
command_reset_message = "[bot]:会话已重置"
|
command_reset_message = "[bot]:会话已重置"
|
||||||
command_reset_name_message = "[bot]:会话已重置,使用场景预设:"
|
command_reset_name_message = "[bot]:会话已重置,使用场景预设:"
|
||||||
|
|
||||||
|
# 会话自动重置时的提示
|
||||||
|
session_auto_reset_message = "[bot]:会话token超限,已自动重置"
|
||||||
|
|||||||
Reference in New Issue
Block a user