From 39980dc83f9c43e349156ad33acffc758f51db4d Mon Sep 17 00:00:00 2001 From: Xi Yan Date: Wed, 12 Feb 2025 21:39:52 -0800 Subject: [PATCH] openapi --- docs/_static/llama-stack-spec.yaml | 51 +++++++++++++++++++----------- 1 file changed, 32 insertions(+), 19 deletions(-) diff --git a/docs/_static/llama-stack-spec.yaml b/docs/_static/llama-stack-spec.yaml index 19980de99..c36c6e257 100644 --- a/docs/_static/llama-stack-spec.yaml +++ b/docs/_static/llama-stack-spec.yaml @@ -2922,34 +2922,47 @@ components: TextDelta: type: object properties: - type: + name: type: string - const: text - default: text - text: + description: type: string + parameters: + type: array + items: + $ref: '#/components/schemas/ToolParameter' + metadata: + type: object + additionalProperties: + oneOf: + - type: 'null' + - type: boolean + - type: number + - type: string + - type: array + - type: object additionalProperties: false required: - - type - - text - ToolCallDelta: + - name + ToolParameter: type: object properties: - type: + name: type: string - const: tool_call - default: tool_call - tool_call: + parameter_type: + type: string + description: + type: string + required: + type: boolean + default: true + default: oneOf: + - type: 'null' + - type: boolean + - type: number - type: string - - $ref: '#/components/schemas/ToolCall' - parse_status: - type: string - enum: - - started - - in_progress - - failed - - succeeded + - type: array + - type: object additionalProperties: false required: - type