diff --git a/client-sdks/stainless/openapi.yml b/client-sdks/stainless/openapi.yml index 6ddae1ce3..a6ebc868c 100644 --- a/client-sdks/stainless/openapi.yml +++ b/client-sdks/stainless/openapi.yml @@ -6723,12 +6723,10 @@ components: type: array title: Output parallel_tool_calls: - title: Parallel Tool Calls - type: boolean + anyOf: + - type: boolean + - type: 'null' default: true - description: >- - (Optional) Whether to allow more than one function tool call generated - per turn. previous_response_id: anyOf: - type: string @@ -6838,14 +6836,12 @@ components: title: Input type: object required: - - created_at - - id - - model - - object - - output - - status - - text - - input + - created_at + - id + - model + - output + - status + - input title: OpenAIResponseObjectWithInput description: OpenAI response object extended with input context information. OpenAIResponseOutput: @@ -7127,12 +7123,14 @@ components: - type: 'null' title: OpenAIResponsePrompt instructions: - type: string anyOf: - type: string - type: 'null' parallel_tool_calls: - type: boolean + anyOf: + - type: boolean + - type: 'null' + default: true previous_response_id: anyOf: - type: string @@ -7259,12 +7257,10 @@ components: type: array title: Output parallel_tool_calls: - type: boolean - title: Parallel Tool Calls + anyOf: + - type: boolean + - type: 'null' default: true - description: >- - (Optional) Whether to allow more than one function tool call generated - per turn. previous_response_id: anyOf: - type: string @@ -7336,11 +7332,11 @@ components: - type: 'null' type: object required: - - created_at - - id - - model - - output - - status + - created_at + - id + - model + - output + - status title: OpenAIResponseObject description: Complete OpenAI response object containing generation results and metadata. OpenAIResponseContentPartOutputText: diff --git a/docs/static/deprecated-llama-stack-spec.yaml b/docs/static/deprecated-llama-stack-spec.yaml index 0bade1866..207af8926 100644 --- a/docs/static/deprecated-llama-stack-spec.yaml +++ b/docs/static/deprecated-llama-stack-spec.yaml @@ -3566,9 +3566,10 @@ components: type: array title: Output parallel_tool_calls: - type: boolean - title: Parallel Tool Calls - default: false + anyOf: + - type: boolean + - type: 'null' + default: true previous_response_id: anyOf: - type: string @@ -3968,6 +3969,11 @@ components: anyOf: - type: string - type: 'null' + parallel_tool_calls: + anyOf: + - type: boolean + - type: 'null' + default: true previous_response_id: anyOf: - type: string @@ -4094,9 +4100,10 @@ components: type: array title: Output parallel_tool_calls: - type: boolean - title: Parallel Tool Calls - default: false + anyOf: + - type: boolean + - type: 'null' + default: true previous_response_id: anyOf: - type: string diff --git a/docs/static/experimental-llama-stack-spec.yaml b/docs/static/experimental-llama-stack-spec.yaml index 4271989d6..f81a93d33 100644 --- a/docs/static/experimental-llama-stack-spec.yaml +++ b/docs/static/experimental-llama-stack-spec.yaml @@ -3263,9 +3263,10 @@ components: type: array title: Output parallel_tool_calls: - type: boolean - title: Parallel Tool Calls - default: false + anyOf: + - type: boolean + - type: 'null' + default: true previous_response_id: anyOf: - type: string @@ -3662,9 +3663,10 @@ components: type: array title: Output parallel_tool_calls: - type: boolean - title: Parallel Tool Calls - default: false + anyOf: + - type: boolean + - type: 'null' + default: true previous_response_id: anyOf: - type: string diff --git a/docs/static/llama-stack-spec.yaml b/docs/static/llama-stack-spec.yaml index f9aef99a6..816f3d0fb 100644 --- a/docs/static/llama-stack-spec.yaml +++ b/docs/static/llama-stack-spec.yaml @@ -5744,12 +5744,10 @@ components: type: array title: Output parallel_tool_calls: - type: boolean - title: Parallel Tool Calls + anyOf: + - type: boolean + - type: 'null' default: true - description: >- - (Optional) Whether to allow more than one function tool call generated - per turn. previous_response_id: anyOf: - type: string @@ -6146,12 +6144,14 @@ components: - type: 'null' title: OpenAIResponsePrompt instructions: - type: string anyOf: - type: string - type: 'null' parallel_tool_calls: - type: boolean + anyOf: + - type: boolean + - type: 'null' + default: true previous_response_id: anyOf: - type: string @@ -6278,12 +6278,10 @@ components: type: array title: Output parallel_tool_calls: - type: boolean - title: Parallel Tool Calls + anyOf: + - type: boolean + - type: 'null' default: true - description: >- - (Optional) Whether to allow more than one function tool call generated - per turn. previous_response_id: anyOf: - type: string diff --git a/docs/static/stainless-llama-stack-spec.yaml b/docs/static/stainless-llama-stack-spec.yaml index a632844b2..a6ebc868c 100644 --- a/docs/static/stainless-llama-stack-spec.yaml +++ b/docs/static/stainless-llama-stack-spec.yaml @@ -6723,12 +6723,10 @@ components: type: array title: Output parallel_tool_calls: - type: boolean - title: Parallel Tool Calls + anyOf: + - type: boolean + - type: 'null' default: true - description: >- - (Optional) Whether to allow more than one function tool call generated - per turn. previous_response_id: anyOf: - type: string @@ -7128,9 +7126,11 @@ components: anyOf: - type: string - type: 'null' - type: string parallel_tool_calls: - type: boolean + anyOf: + - type: boolean + - type: 'null' + default: true previous_response_id: anyOf: - type: string @@ -7257,12 +7257,10 @@ components: type: array title: Output parallel_tool_calls: - type: boolean - title: Parallel Tool Calls + anyOf: + - type: boolean + - type: 'null' default: true - description: >- - (Optional) Whether to allow more than one function tool call generated - per turn. previous_response_id: anyOf: - type: string diff --git a/src/llama_stack/providers/inline/agents/meta_reference/responses/streaming.py b/src/llama_stack/providers/inline/agents/meta_reference/responses/streaming.py index 5a6d82d31..c58293e62 100644 --- a/src/llama_stack/providers/inline/agents/meta_reference/responses/streaming.py +++ b/src/llama_stack/providers/inline/agents/meta_reference/responses/streaming.py @@ -1025,7 +1025,6 @@ class StreamingResponseOrchestrator: sequence_number=self.sequence_number, ) - async def _process_new_tools( self, tools: list[OpenAIResponseInputTool], output_messages: list[OpenAIResponseOutput] ) -> AsyncIterator[OpenAIResponseObjectStream]: