技能联调

This commit is contained in:
fengxiangdebaozi committed 2026-05-29 15:22:28 +08:00
1 parent 07ad87365f
commit a9332c0ab0
7 files changed
+369 -145

No files matched your search

@@ -180,13 +180,12 @@ async def researcher_node(state: AIWritingState, config: RunnableConfig) -> dict
skill_steps.append(step)
writer({"type": "skill_search_step", "agent_name": "素材收集专家", **step})
async def _llm_select(system: str, user_prompt: str, fallback: dict) -> dict:
return await llm_json(system, user_prompt, fallback=fallback, config=config, model_name=keyword_model)
if is_skill_search:
# ── 技能编排检索 ──
# 技能选择走流式 LLM(推 skill_select_chunk)+ <think> 分离,前端打字机展示
picker = SkillPicker(
llm_select=_llm_select,
config=config,
model_name=keyword_model,
emit_step=_emit_skill_step,
max_select=5,
user_query=user_query,