Fix wakeup API source/triggerDetail enum values
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 10s
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 10s
Paperclip expects source ∈ {timer, assignment, on_demand, automation}
and triggerDetail ∈ {manual, ping, callback, system}.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -313,8 +313,8 @@ async def wake_ceo_agent(issue_id: str, case_number: str) -> dict:
|
||||
|
||||
url = f"{PAPERCLIP_API_URL}/api/agents/{CEO_AGENT_ID}/wakeup"
|
||||
payload = {
|
||||
"source": "web-ui",
|
||||
"triggerDetail": "user",
|
||||
"source": "on_demand",
|
||||
"triggerDetail": "manual",
|
||||
"reason": f"start_workflow_{case_number}",
|
||||
"payload": {
|
||||
"issueId": issue_id,
|
||||
|
||||
Reference in New Issue
Block a user