better:新增config项目

This commit is contained in:
SengokuCola
2025-04-14 22:09:00 +08:00
parent 53332791e4
commit d9f191705f
11 changed files with 51 additions and 31 deletions

View File

@@ -1,5 +1,5 @@
[inner]
version = "1.2.7"
version = "1.3.0"
#以下是给开发人员阅读的,一般用户不需要阅读
@@ -77,7 +77,11 @@ model_v3_probability = 0.3 # 麦麦回答时选择次要回复模型2 模型的
sub_heart_flow_update_interval = 60 # 子心流更新频率,间隔 单位秒
sub_heart_flow_freeze_time = 100 # 子心流冻结时间,超过这个时间没有回复,子心流会冻结,间隔 单位秒
sub_heart_flow_stop_time = 500 # 子心流停止时间,超过这个时间没有回复,子心流会停止,间隔 单位秒
heart_flow_update_interval = 300 # 心流更新频率,间隔 单位秒
heart_flow_update_interval = 600 # 心流更新频率,间隔 单位秒
observation_context_size = 20 # 心流观察到的最长上下文大小,超过这个值的上下文会被压缩
compressed_length = 5 # 不能大于observation_context_size,心流上下文压缩的最短压缩长度超过心流观察到的上下文长度会压缩最短压缩长度为5
compress_length_limit = 5 #最多压缩份数,超过该数值的压缩上下文会被删除
[message]
@@ -189,11 +193,12 @@ pri_out = 16 #模型的输出价格(非必填,可以记录消耗)
#非推理模型
[model.llm_normal] #V3 回复模型1 主要回复模型默认temp 0.2 如果你使用的是老V3或者其他模型请自己修改代码中的temp参数
[model.llm_normal] #V3 回复模型1 主要回复模型默认temp 0.2 如果你使用的是老V3或者其他模型请自己修改temp参数
name = "Pro/deepseek-ai/DeepSeek-V3"
provider = "SILICONFLOW"
pri_in = 2 #模型的输入价格(非必填,可以记录消耗)
pri_out = 8 #模型的输出价格(非必填,可以记录消耗)
temp = 0.2 #模型的温度新V3建议0.1-0.3
[model.llm_emotion_judge] #表情包判断
name = "Qwen/Qwen2.5-14B-Instruct"
@@ -213,11 +218,11 @@ provider = "SILICONFLOW"
pri_in = 1.26
pri_out = 1.26
[model.moderation] #内容审核,开发中
name = ""
[model.llm_tool_use] #工具调用模型需要使用支持工具调用的模型建议使用qwen2.5 32b
name = "Qwen/Qwen2.5-32B-Instruct"
provider = "SILICONFLOW"
pri_in = 1.0
pri_out = 2.0
pri_in = 1.26
pri_out = 1.26
# 识图模型
@@ -247,6 +252,7 @@ name = "Pro/deepseek-ai/DeepSeek-V3"
provider = "SILICONFLOW"
pri_in = 2
pri_out = 8
temp = 0.2 #模型的温度新V3建议0.1-0.3
[model.llm_heartflow] #心流建议使用qwen2.5 32b
# name = "Pro/Qwen/Qwen2.5-7B-Instruct"