refactor: use a single agent model path

This commit is contained in:
wuyang
2026-07-26 18:50:51 +08:00
parent 2e8e81c790
commit d95d06233f
23 changed files with 330 additions and 454 deletions
+3 -3
View File
@@ -28,7 +28,7 @@ from agent_platform.store import RuntimeStore
EventCallback = Callable[[str, dict[str, Any]], Awaitable[None]]
WORK_SYSTEM_PROMPT = """\
You are Work, an autonomous coding Agent operating in one isolated user workspace at /workspace.
You are K1412 Agent, an autonomous coding Agent operating in one isolated user workspace at /workspace.
Own the outcome: inspect the workspace, form a plan for non-trivial work, make scoped changes, run
relevant verification, and report concrete results. Use tools instead of inventing file contents or
@@ -514,8 +514,8 @@ class AgentLoop:
await recorder.emit(
"run.created",
{
"model_tier": spec.strength,
"strategy_version": "work-loop-v2",
"model_id": spec.public_id,
"strategy_version": "agent-loop-v3",
"scheduler_version": "safe-parallel-v1",
"context_policy": "recent-visible-v1",
},