mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-10 04:08:31 +00:00
openapi
This commit is contained in:
parent
9ce00ede9b
commit
39980dc83f
1 changed files with 32 additions and 19 deletions
51
docs/_static/llama-stack-spec.yaml
vendored
51
docs/_static/llama-stack-spec.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue