fix the parameters 422 issue with the run_workflow endpoint (#2985)
This commit is contained in:
@@ -316,7 +316,7 @@ class WorkflowRunRequest(BaseModel):
|
||||
workflow_id: str = Field(
|
||||
description="ID of the workflow to run. Workflow ID starts with `wpid_`.", examples=["wpid_123"]
|
||||
)
|
||||
parameters: dict[str, Any] = Field(default={}, description="Parameters to pass to the workflow")
|
||||
parameters: dict[str, Any] | None = Field(default=None, description="Parameters to pass to the workflow")
|
||||
title: str | None = Field(default=None, description="The title for this workflow run")
|
||||
proxy_location: ProxyLocation | None = Field(
|
||||
default=ProxyLocation.RESIDENTIAL,
|
||||
|
||||
Reference in New Issue
Block a user