Remove engine-level LLM config — each adapter owns its own LLM #143
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Background
PR #142 (ThreadReactor) 让 agent 自己追加轮次修 frontmatter,
extract()LLM 回退已经是死代码。Moderator (
evaluate.ts) 从来就是纯函数(读$status→ 查 graph → Mustache 渲染),不用 LLM。uwf setup配的 LLM 唯一消费方是 builtin agent,但 adapter 应该自己独立配置 LLM,engine 层不该碰 LLM。要清理的东西
workflow-util-agent/src/extract.ts— 整个删掉(死代码,createAgent()已不调用)cli-workflow/src/commands/setup.ts— 去掉 provider / apiKey / model 交互流程config.yamlschema — 移除providers/models/defaultModel字段WorkflowConfig类型 (workflow-protocol/src/types.ts) — 移除 LLM 相关字段workflow-agent-builtin—loadWorkflowConfig→resolveModel改成 builtin agent 自己读自己的配置(独立于 engine config)workflow-util-agent/src/index.ts— 移除extract/ExtractResult/ResolvedLlmProvider的 re-export设计原则
uwf setup简化为只配 storage root + default agent