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

@@ -13,7 +13,7 @@ from src.classes.relations import (
)
from src.classes.calendar import get_date_str
from src.classes.event import Event
from src.utils.llm import call_llm_with_template, LLMMode
from src.utils.llm import call_llm_with_task_name
from src.utils.config import CONFIG
if TYPE_CHECKING:
@@ -64,7 +64,7 @@ class RelationResolver:
"""
infos = RelationResolver._build_prompt_data(avatar_a, avatar_b)
result = await call_llm_with_template(RelationResolver.TEMPLATE_PATH, infos, mode=LLMMode.FAST)
result = await call_llm_with_task_name("relation_resolver", RelationResolver.TEMPLATE_PATH, infos)
changed = result.get("changed", False)
if not changed: