fix(runtime): emit workplan_id in progress posts (STATE-WP-0070 T04)
This commit is contained in:
parent
99f25b6427
commit
b8dac443f3
3 changed files with 7 additions and 4 deletions
|
|
@ -93,8 +93,9 @@ def execute(
|
|||
"summary": summary,
|
||||
"event_type": event.get("event_type", "note"),
|
||||
}
|
||||
if event.get("workstream_id"):
|
||||
payload["workstream_id"] = event["workstream_id"]
|
||||
workplan_id = event.get("workplan_id") or event.get("workstream_id")
|
||||
if workplan_id:
|
||||
payload["workplan_id"] = workplan_id
|
||||
try:
|
||||
resp = httpx.post(
|
||||
api_base.rstrip("/") + "/progress/",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue