fix(notify): clean up agent dispatch message formatting

This commit is contained in:
Abhimanyu Saharan
2026-02-02 21:21:16 +05:30
parent 056fe83edf
commit 52b2797b1d

View File

@@ -117,9 +117,6 @@ def build_message(ctx: NotifyContext, recipient: Employee) -> str:
f"4) Post progress updates via POST $BASE/task-comments (same headers)\n"
f"5) When complete: curl -sS -X PATCH $BASE/tasks/{t.id} -H 'X-Actor-Employee-Id: {recipient.id}' "
"-H 'Content-Type: application/json' -d '{\"status\":\"done\"}' and post a final summary comment"
f"-H 'X-Actor-Employee-Id: {recipient.id}' "
"-H 'Content-Type: application/json' "
'-d \'{"status":"done"}\' and post a final summary comment'
f"{desc_block}"
)