mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-03 17:29:01 +00:00
update open api spec
This commit is contained in:
parent
c2dd0cdc78
commit
914938d3f2
2 changed files with 53 additions and 69 deletions
|
@ -3910,38 +3910,6 @@
|
||||||
"session_id"
|
"session_id"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"Attachment": {
|
|
||||||
"type": "object",
|
|
||||||
"properties": {
|
|
||||||
"content": {
|
|
||||||
"oneOf": [
|
|
||||||
{
|
|
||||||
"type": "string"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/components/schemas/InterleavedContentItem"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/components/schemas/InterleavedContentItem"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"$ref": "#/components/schemas/URL"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"mime_type": {
|
|
||||||
"type": "string"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"additionalProperties": false,
|
|
||||||
"required": [
|
|
||||||
"content",
|
|
||||||
"mime_type"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"CreateAgentTurnRequest": {
|
"CreateAgentTurnRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -3964,12 +3932,6 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"attachments": {
|
|
||||||
"type": "array",
|
|
||||||
"items": {
|
|
||||||
"$ref": "#/components/schemas/Attachment"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"stream": {
|
"stream": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
}
|
}
|
||||||
|
@ -4027,6 +3989,9 @@
|
||||||
"memory_retrieval"
|
"memory_retrieval"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"step_id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"step_details": {
|
"step_details": {
|
||||||
"oneOf": [
|
"oneOf": [
|
||||||
{
|
{
|
||||||
|
@ -4048,6 +4013,7 @@
|
||||||
"required": [
|
"required": [
|
||||||
"event_type",
|
"event_type",
|
||||||
"step_type",
|
"step_type",
|
||||||
|
"step_id",
|
||||||
"step_details"
|
"step_details"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -4454,7 +4420,36 @@
|
||||||
"output_attachments": {
|
"output_attachments": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/components/schemas/Attachment"
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"content": {
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/InterleavedContentItem"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "array",
|
||||||
|
"items": {
|
||||||
|
"$ref": "#/components/schemas/InterleavedContentItem"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/URL"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"mime_type": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"content",
|
||||||
|
"mime_type"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"started_at": {
|
"started_at": {
|
||||||
|
@ -7992,10 +7987,6 @@
|
||||||
"name": "AppendRowsRequest",
|
"name": "AppendRowsRequest",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/AppendRowsRequest\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/AppendRowsRequest\" />"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "Attachment",
|
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/Attachment\" />"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "BasicScoringFnParams",
|
"name": "BasicScoringFnParams",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/BasicScoringFnParams\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/BasicScoringFnParams\" />"
|
||||||
|
@ -8710,7 +8701,6 @@
|
||||||
"AggregationFunctionType",
|
"AggregationFunctionType",
|
||||||
"AppEvalTaskConfig",
|
"AppEvalTaskConfig",
|
||||||
"AppendRowsRequest",
|
"AppendRowsRequest",
|
||||||
"Attachment",
|
|
||||||
"BasicScoringFnParams",
|
"BasicScoringFnParams",
|
||||||
"BatchChatCompletionRequest",
|
"BatchChatCompletionRequest",
|
||||||
"BatchChatCompletionResponse",
|
"BatchChatCompletionResponse",
|
||||||
|
|
|
@ -115,6 +115,8 @@ components:
|
||||||
- $ref: '#/components/schemas/ToolExecutionStep'
|
- $ref: '#/components/schemas/ToolExecutionStep'
|
||||||
- $ref: '#/components/schemas/ShieldCallStep'
|
- $ref: '#/components/schemas/ShieldCallStep'
|
||||||
- $ref: '#/components/schemas/MemoryRetrievalStep'
|
- $ref: '#/components/schemas/MemoryRetrievalStep'
|
||||||
|
step_id:
|
||||||
|
type: string
|
||||||
step_type:
|
step_type:
|
||||||
enum:
|
enum:
|
||||||
- inference
|
- inference
|
||||||
|
@ -125,6 +127,7 @@ components:
|
||||||
required:
|
required:
|
||||||
- event_type
|
- event_type
|
||||||
- step_type
|
- step_type
|
||||||
|
- step_id
|
||||||
- step_details
|
- step_details
|
||||||
type: object
|
type: object
|
||||||
AgentTurnResponseStepProgressPayload:
|
AgentTurnResponseStepProgressPayload:
|
||||||
|
@ -271,23 +274,6 @@ components:
|
||||||
- dataset_id
|
- dataset_id
|
||||||
- rows
|
- rows
|
||||||
type: object
|
type: object
|
||||||
Attachment:
|
|
||||||
additionalProperties: false
|
|
||||||
properties:
|
|
||||||
content:
|
|
||||||
oneOf:
|
|
||||||
- type: string
|
|
||||||
- $ref: '#/components/schemas/InterleavedContentItem'
|
|
||||||
- items:
|
|
||||||
$ref: '#/components/schemas/InterleavedContentItem'
|
|
||||||
type: array
|
|
||||||
- $ref: '#/components/schemas/URL'
|
|
||||||
mime_type:
|
|
||||||
type: string
|
|
||||||
required:
|
|
||||||
- content
|
|
||||||
- mime_type
|
|
||||||
type: object
|
|
||||||
BasicScoringFnParams:
|
BasicScoringFnParams:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -615,10 +601,6 @@ components:
|
||||||
properties:
|
properties:
|
||||||
agent_id:
|
agent_id:
|
||||||
type: string
|
type: string
|
||||||
attachments:
|
|
||||||
items:
|
|
||||||
$ref: '#/components/schemas/Attachment'
|
|
||||||
type: array
|
|
||||||
messages:
|
messages:
|
||||||
items:
|
items:
|
||||||
oneOf:
|
oneOf:
|
||||||
|
@ -2980,7 +2962,22 @@ components:
|
||||||
type: array
|
type: array
|
||||||
output_attachments:
|
output_attachments:
|
||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/Attachment'
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
content:
|
||||||
|
oneOf:
|
||||||
|
- type: string
|
||||||
|
- $ref: '#/components/schemas/InterleavedContentItem'
|
||||||
|
- items:
|
||||||
|
$ref: '#/components/schemas/InterleavedContentItem'
|
||||||
|
type: array
|
||||||
|
- $ref: '#/components/schemas/URL'
|
||||||
|
mime_type:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- content
|
||||||
|
- mime_type
|
||||||
|
type: object
|
||||||
type: array
|
type: array
|
||||||
output_message:
|
output_message:
|
||||||
$ref: '#/components/schemas/CompletionMessage'
|
$ref: '#/components/schemas/CompletionMessage'
|
||||||
|
@ -4765,8 +4762,6 @@ tags:
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/AppendRowsRequest"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/AppendRowsRequest"
|
||||||
/>
|
/>
|
||||||
name: AppendRowsRequest
|
name: AppendRowsRequest
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/Attachment" />
|
|
||||||
name: Attachment
|
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/BasicScoringFnParams"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/BasicScoringFnParams"
|
||||||
/>
|
/>
|
||||||
name: BasicScoringFnParams
|
name: BasicScoringFnParams
|
||||||
|
@ -5271,7 +5266,6 @@ x-tagGroups:
|
||||||
- AggregationFunctionType
|
- AggregationFunctionType
|
||||||
- AppEvalTaskConfig
|
- AppEvalTaskConfig
|
||||||
- AppendRowsRequest
|
- AppendRowsRequest
|
||||||
- Attachment
|
|
||||||
- BasicScoringFnParams
|
- BasicScoringFnParams
|
||||||
- BatchChatCompletionRequest
|
- BatchChatCompletionRequest
|
||||||
- BatchChatCompletionResponse
|
- BatchChatCompletionResponse
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue