backend/frontend/runtime: 训练面板 / session 隔离 / agent runtime 调整

- backend/api/server.py:训练 step-detail / pipeline 卡片排序逻辑
- frontend:thread-list / thread / training-pipeline-panel / step-detail-sheet 配套调整,新增 metrics-chart-panel
- src/agent_*:tool spec / runtime / prompting 配套
- .gitignore 加 .logs/

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
hupenglong1
2026-05-25 11:43:10 +08:00
parent 57f5b60a3e
commit f068311cac
17 changed files with 1571 additions and 270 deletions
+3 -3
View File
@@ -1620,9 +1620,9 @@ class LocalCodingAgent:
'请回复“继续”,我会要求模型重新生成合法 JSON 参数;'
'如果是 write_file 写短文本/Markdown,应改用 content_lines'
'如果是很小的 JSON/JSONL/CSV,可用 json_content、jsonl_records 或 csv_rows'
'如果是脚本、长文本、大 JSON、JSONL、CSV 或生成数据,应直接改用 python_exec 写文件'
'如果是生成/转换结构化数据,应优先调用对应 skill 脚本或 python_exec'
'不要把大段内容直接塞进工具参数bash 仅作为最后兜底'
'如果是脚本、长文本、大 JSON、JSONL、CSV 或生成数据,应改用 bash 配合 quoted heredoc 写文件'
'或先 write_file 落地一个小 .py 再用 bash 跑;'
'不要把大段内容直接塞进工具参数。'
) from exc
if not isinstance(arguments, dict):
raise OpenAICompatError(