Add organization_name and workflow_permanent_id to skyvern context, pass workflow_permanet_id when deciding which identifier to use with which llm (#2245)

This commit is contained in:
Shuchang Zheng 2025-04-29 03:55:52 +08:00 committed by GitHub
parent 7783bb0327
commit 2f10e3c430
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 29 additions and 20 deletions

View file

@ -2497,6 +2497,9 @@ class TaskV2Block(Block):
skyvern_context.set(
skyvern_context.SkyvernContext(
organization_id=organization_id,
organization_name=organization.organization_name,
workflow_id=workflow_run.workflow_id,
workflow_permanent_id=workflow_run.workflow_permanent_id,
workflow_run_id=workflow_run_id,
browser_session_id=browser_session_id,
)