Skip to content

Automate browser based workflows with AI

exclude task request info from the webhook request payload (#195)

Shuchang Zheng0ac6e1a2ba62
diff --git a/skyvern/forge/agent.py b/skyvern/forge/agent.py
index 760c44d9e..36021a62e 100644
--- a/skyvern/forge/agent.py
+++ b/skyvern/forge/agent.py
@@ -840,7 +840,7 @@ class ForgeAgent(Agent):
# send task_response to the webhook callback url
# TODO: use async requests (httpx)
timestamp = str(int(datetime.utcnow().timestamp()))
- payload = task_response.model_dump_json(exclude={"request": {"navigation_payload"}})
+ payload = task_response.model_dump_json(exclude={"request"})
signature = generate_skyvern_signature(
payload=payload,
api_key=api_key,