update llm

This commit is contained in:
bridge
2025-12-29 22:02:44 +08:00
parent 6a4059280a
commit c2cb8098ee
11 changed files with 68 additions and 24 deletions

View File

@@ -1,5 +1,5 @@
from typing import Any, Dict, List, TYPE_CHECKING
from src.utils.llm import call_llm_with_template
from src.utils.llm import call_llm_with_task_name
from src.utils.config import CONFIG
import json
@@ -33,7 +33,8 @@ async def make_decision(
# 3. 调用 AI
template_path = CONFIG.paths.templates / "single_choice.txt"
result = await call_llm_with_template(
result = await call_llm_with_task_name(
"single_choice",
template_path,
infos={
"avatar_infos": avatar_infos,