diff --git a/agents-api/agents_api/autogen/Tasks.py b/agents-api/agents_api/autogen/Tasks.py index 5fb285ed5..41e9231cc 100644 --- a/agents-api/agents_api/autogen/Tasks.py +++ b/agents-api/agents_api/autogen/Tasks.py @@ -686,7 +686,7 @@ class PromptStep(BaseModel): """ The prompt to run """ - tools: Literal["all"] | list[ToolRef | CreateToolRequest] = [] + tools: Literal["all"] | list[ToolRef | CreateToolRequest] = "all" """ The tools to use for the prompt """ @@ -728,7 +728,7 @@ class PromptStepUpdateItem(BaseModel): """ The prompt to run """ - tools: Literal["all"] | list[ToolRefUpdateItem | CreateToolRequest] = [] + tools: Literal["all"] | list[ToolRefUpdateItem | CreateToolRequest] = "all" """ The tools to use for the prompt """ diff --git a/integrations-service/integrations/autogen/Tasks.py b/integrations-service/integrations/autogen/Tasks.py index 5fb285ed5..41e9231cc 100644 --- a/integrations-service/integrations/autogen/Tasks.py +++ b/integrations-service/integrations/autogen/Tasks.py @@ -686,7 +686,7 @@ class PromptStep(BaseModel): """ The prompt to run """ - tools: Literal["all"] | list[ToolRef | CreateToolRequest] = [] + tools: Literal["all"] | list[ToolRef | CreateToolRequest] = "all" """ The tools to use for the prompt """ @@ -728,7 +728,7 @@ class PromptStepUpdateItem(BaseModel): """ The prompt to run """ - tools: Literal["all"] | list[ToolRefUpdateItem | CreateToolRequest] = [] + tools: Literal["all"] | list[ToolRefUpdateItem | CreateToolRequest] = "all" """ The tools to use for the prompt """ diff --git a/typespec/tsp-output/@typespec/openapi3/openapi-1.0.0.yaml b/typespec/tsp-output/@typespec/openapi3/openapi-1.0.0.yaml index 97dfbf141..8d9b7b541 100644 --- a/typespec/tsp-output/@typespec/openapi3/openapi-1.0.0.yaml +++ b/typespec/tsp-output/@typespec/openapi3/openapi-1.0.0.yaml @@ -4845,7 +4845,7 @@ components: - $ref: '#/components/schemas/Tasks.ToolRef' - $ref: '#/components/schemas/Tools.CreateToolRequest' description: The tools to use for the prompt - default: [] + default: all tool_choice: anyOf: - type: string @@ -4976,7 +4976,7 @@ components: - $ref: '#/components/schemas/Tasks.ToolRefUpdateItem' - $ref: '#/components/schemas/Tools.CreateToolRequest' description: The tools to use for the prompt - default: [] + default: all tool_choice: anyOf: - type: string