mirror of https://github.com/Mai-with-u/MaiBot.git
prompt 优化,更换默认模型
parent
c87ac00982
commit
54ac1d0aaa
|
|
@ -253,7 +253,7 @@ class NicknameManager:
|
|||
None,
|
||||
)
|
||||
user_name_map[user_id] = (
|
||||
latest_nickname or f"{global_config.BOT_NICKNAME}(你)"
|
||||
latest_nickname or f"{global_config.BOT_NICKNAME}"
|
||||
if user_id == global_config.BOT_QQ
|
||||
else "未知"
|
||||
)
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ def _build_mapping_prompt(chat_history_str: str, bot_reply: str, user_name_map:
|
|||
|
||||
已知用户信息(ID: 名称):
|
||||
{user_list_str}
|
||||
*注意:名称后面带有"(你)"表示是你自己。*
|
||||
|
||||
聊天记录:
|
||||
---
|
||||
|
|
|
|||
|
|
@ -301,11 +301,11 @@ pri_out = 8
|
|||
|
||||
#绰号映射生成模型
|
||||
[model.llm_nickname_mapping]
|
||||
name = "deepseek-ai/DeepSeek-V3"
|
||||
name = "Qwen/Qwen2.5-32B-Instruct"
|
||||
provider = "SILICONFLOW"
|
||||
temp = 0.3
|
||||
pri_in = 2
|
||||
pri_out = 8
|
||||
temp = 0.7
|
||||
pri_in = 1.26
|
||||
pri_out = 1.26
|
||||
|
||||
#以下模型暂时没有使用!!
|
||||
#以下模型暂时没有使用!!
|
||||
|
|
|
|||
Loading…
Reference in New Issue