Skip to content

Commit 32afb1c

Browse files
Update api spec (#1433)
YOYO NEW API SPEC! Co-authored-by: zoo-github-actions-auth[bot] <zoo-github-actions-auth[bot]@users.noreply.github.com>
1 parent 474941c commit 32afb1c

File tree

1 file changed

+76
-0
lines changed

1 file changed

+76
-0
lines changed

spec.json

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31634,9 +31634,60 @@
3163431634
"command",
3163531635
"type"
3163631636
]
31637+
},
31638+
{
31639+
"description": "Files sent from the client to the server.",
31640+
"type": "object",
31641+
"properties": {
31642+
"files": {
31643+
"description": "The list of files being sent.",
31644+
"type": "array",
31645+
"items": {
31646+
"$ref": "#/components/schemas/MlCopilotFile"
31647+
}
31648+
},
31649+
"type": {
31650+
"type": "string",
31651+
"enum": [
31652+
"files"
31653+
]
31654+
}
31655+
},
31656+
"required": [
31657+
"files",
31658+
"type"
31659+
]
3163731660
}
3163831661
]
3163931662
},
31663+
"MlCopilotFile": {
31664+
"description": "A file that can be transferred between the client and server.",
31665+
"type": "object",
31666+
"properties": {
31667+
"data": {
31668+
"description": "The file contents as binary data.",
31669+
"type": "array",
31670+
"items": {
31671+
"type": "integer",
31672+
"format": "uint8",
31673+
"minimum": 0
31674+
}
31675+
},
31676+
"mimetype": {
31677+
"description": "The MIME type of the file (e.g., \"image/png\", \"application/pdf\", \"model/stl\").",
31678+
"type": "string"
31679+
},
31680+
"name": {
31681+
"description": "The name of the file.",
31682+
"type": "string"
31683+
}
31684+
},
31685+
"required": [
31686+
"data",
31687+
"mimetype",
31688+
"name"
31689+
]
31690+
},
3164031691
"MlCopilotMode": {
3164131692
"description": "The mode to have the agent work in.",
3164231693
"oneOf": [
@@ -31908,6 +31959,31 @@
3190831959
"end_of_stream"
3190931960
],
3191031961
"additionalProperties": false
31962+
},
31963+
{
31964+
"description": "Files sent from the server to the client.",
31965+
"type": "object",
31966+
"properties": {
31967+
"files": {
31968+
"type": "object",
31969+
"properties": {
31970+
"files": {
31971+
"description": "The list of files being sent.",
31972+
"type": "array",
31973+
"items": {
31974+
"$ref": "#/components/schemas/MlCopilotFile"
31975+
}
31976+
}
31977+
},
31978+
"required": [
31979+
"files"
31980+
]
31981+
}
31982+
},
31983+
"required": [
31984+
"files"
31985+
],
31986+
"additionalProperties": false
3191131987
}
3191231988
]
3191331989
},

0 commit comments

Comments
 (0)