Backend: unified /runs URL (#3898)
This commit is contained in:
@@ -3187,8 +3187,7 @@ class HumanInteractionBlock(BaseTaskBlock):
|
||||
organization_id=organization_id,
|
||||
)
|
||||
|
||||
workflow_permanent_id = workflow_run.workflow_permanent_id
|
||||
app_url = f"{settings.SKYVERN_APP_URL}/workflows/{workflow_permanent_id}/{workflow_run_id}/overview"
|
||||
app_url = f"{settings.SKYVERN_APP_URL}/runs/{workflow_run_id}/overview"
|
||||
body = f"{self.body}\n\nKindly visit {app_url}\n\n{self.instructions}\n\n"
|
||||
subject = f"{self.subject} - Workflow Run ID: {workflow_run_id}"
|
||||
|
||||
|
||||
@@ -201,3 +201,7 @@ class WorkflowRunResponseBase(BaseModel):
|
||||
browser_address: str | None = None
|
||||
script_run: ScriptRunResponse | None = None
|
||||
errors: list[dict[str, Any]] | None = None
|
||||
|
||||
|
||||
class WorkflowRunWithWorkflowResponse(WorkflowRunResponseBase):
|
||||
workflow: Workflow
|
||||
|
||||
Reference in New Issue
Block a user