mirror of
https://github.com/openai/codex.git
synced 2026-11-16 22:00:36 +00:00
Support audio input
This commit is contained in:
+42
@@ -9137,6 +9137,26 @@
|
||||
],
|
||||
"title": "InputImageFunctionCallOutputContentItem",
|
||||
"type": "object"
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"input_audio": {
|
||||
"$ref": "#/definitions/v2/InputAudio"
|
||||
},
|
||||
"type": {
|
||||
"enum": [
|
||||
"input_audio"
|
||||
],
|
||||
"title": "InputAudioFunctionCallOutputContentItemType",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"input_audio",
|
||||
"type"
|
||||
],
|
||||
"title": "InputAudioFunctionCallOutputContentItem",
|
||||
"type": "object"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -9925,6 +9945,21 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"InputAudio": {
|
||||
"properties": {
|
||||
"data": {
|
||||
"type": "string"
|
||||
},
|
||||
"format": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"data",
|
||||
"format"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"InputModality": {
|
||||
"description": "Canonical user-input modality tags advertised by a model.",
|
||||
"oneOf": [
|
||||
@@ -9941,6 +9976,13 @@
|
||||
"image"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"description": "Audio content included in tool payloads.",
|
||||
"enum": [
|
||||
"audio"
|
||||
],
|
||||
"type": "string"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user