fix bug
This commit is contained in:
@@ -73,7 +73,7 @@ async def generate_nickname(avatar: "Avatar") -> Optional[str]:
|
||||
}
|
||||
|
||||
# 调用LLM并自动解析JSON
|
||||
response_data = await call_llm_with_template(template_path, infos, LLMMode.FAST)
|
||||
response_data = await call_llm_with_template(template_path, infos, LLMMode.NORMAL)
|
||||
|
||||
nickname = response_data.get("nickname", "").strip()
|
||||
thinking = response_data.get("thinking", "")
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
绰号是修仙界中对一个人物的评价和称谓,要求:
|
||||
1. 符合修仙世界观,具有仙侠风格
|
||||
2. 可以有多种不同角度,比如角色的性格、行为、事迹、关系、武器、长相、功法、宗门等
|
||||
3. 简洁有力,朗朗上口、2~5个字
|
||||
3. 简洁有力,朗朗上口、2到5个字
|
||||
4. 要帅气、有意境、多种多样
|
||||
|
||||
角色信息:
|
||||
|
||||
Reference in New Issue
Block a user