mirror of
https://github.com/rennf93/roboco.git
synced 2026-08-03 07:23:24 +02:00
Changes Made
roboco/agents/base.py - Added proper workflow methods: - _qa_pass(task_id, qa_notes) - Calls /pass-qa endpoint - _qa_fail(task_id, qa_notes, issues) - Calls /fail-qa endpoint - _docs_complete(task_id, doc_notes?) - Calls /docs-complete endpoint - Marked old _mark_needs_revision, _mark_awaiting_documentation, _mark_awaiting_pm_review as DEPRECATED roboco/agents/qa.py - Fixed verdict phase: - Now uses _qa_pass() instead of _mark_awaiting_documentation() - Now uses _qa_fail() instead of _mark_needs_revision() - Properly passes QA notes and issue lists roboco/agents/documenter.py - Fixed submit phase: - Now uses _docs_complete() instead of _mark_awaiting_pm_review() - Properly passes documentation summary as notes
This commit is contained in:
@@ -131,7 +131,6 @@ async def handle_task_pause(
|
||||
await client.post(
|
||||
f"/tasks/{data.task_id}/checkpoint",
|
||||
json={
|
||||
"agent_id": agent_id,
|
||||
"state_summary": data.checkpoint_summary,
|
||||
"remaining_work": data.remaining_work,
|
||||
"notes": data.reason,
|
||||
|
||||
@@ -142,7 +142,7 @@ async def handle_task_progress(
|
||||
|
||||
progress_resp = await client.post(
|
||||
f"/tasks/{task_id}/progress",
|
||||
json={"agent_id": agent_id, "message": message, "percentage": percentage},
|
||||
json={"message": message, "percentage": percentage},
|
||||
)
|
||||
|
||||
if not progress_resp.ok:
|
||||
|
||||
Reference in New Issue
Block a user