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:
|
TextDelta:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
type:
|
name:
|
||||||
type: string
|
type: string
|
||||||
const: text
|
description:
|
||||||
default: text
|
|
||||||
text:
|
|
||||||
type: string
|
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
|
additionalProperties: false
|
||||||
required:
|
required:
|
||||||
- type
|
- name
|
||||||
- text
|
ToolParameter:
|
||||||
ToolCallDelta:
|
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
type:
|
name:
|
||||||
type: string
|
type: string
|
||||||
const: tool_call
|
parameter_type:
|
||||||
default: tool_call
|
type: string
|
||||||
tool_call:
|
description:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
type: boolean
|
||||||
|
default: true
|
||||||
|
default:
|
||||||
oneOf:
|
oneOf:
|
||||||
|
- type: 'null'
|
||||||
|
- type: boolean
|
||||||
|
- type: number
|
||||||
- type: string
|
- type: string
|
||||||
- $ref: '#/components/schemas/ToolCall'
|
- type: array
|
||||||
parse_status:
|
- type: object
|
||||||
type: string
|
|
||||||
enum:
|
|
||||||
- started
|
|
||||||
- in_progress
|
|
||||||
- failed
|
|
||||||
- succeeded
|
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
required:
|
required:
|
||||||
- type
|
- type
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue