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
11 changed files with 29 additions and 20 deletions

View File

@@ -667,7 +667,7 @@ async def run_workflow_legacy(
workflow_run = await workflow_service.run_workflow(
workflow_id=workflow_id,
organization_id=current_org.organization_id,
organization=current_org,
workflow_request=workflow_request,
template=template,
version=version,
@@ -1634,7 +1634,7 @@ async def run_workflow(
)
workflow_run = await workflow_service.run_workflow(
workflow_id=workflow_id,
organization_id=current_org.organization_id,
organization=current_org,
workflow_request=legacy_workflow_request,
template=template,
version=None,