auto-sync: 2026-05-25 19:58:38
This commit is contained in:
@@ -139,6 +139,20 @@ curl -X POST http://{api_host}:{api_port}/api/projects/{project_id}/tasks/{task_
|
||||
"""
|
||||
|
||||
|
||||
# Mail 续杯专用模板:不包含状态转换指令(系统自动标 done)
|
||||
MAIL_RETRY_PROMPT = """你收到一个续杯提醒。你的任务在执行过程中被中断了。
|
||||
|
||||
发件者: {from_agent}
|
||||
主题: {title}
|
||||
续杯次数: 第 {retry_count} 次(上限 {max_retries} 次)
|
||||
|
||||
请检查 session 历史中你之前做了什么,然后继续未完成的工作。
|
||||
|
||||
⚠️ 不要执行任何状态转换命令(标 working/done/review/failed 等),系统会自动处理。
|
||||
⚠️ 如果任务已完成,直接写产出即可,不要调 status API。
|
||||
"""
|
||||
|
||||
|
||||
class AgentSpawner:
|
||||
"""Agent spawn 管理"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user