mirror of
https://github.com/openai/codex.git
synced 2026-11-09 20:50:33 +00:00
fix(app-server): preserve dynamic tool schema diagnostics
This commit is contained in:
@@ -138,6 +138,33 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"DynamicToolSchemaErrorTool": {
|
||||
"properties": {
|
||||
"index": {
|
||||
"format": "uint",
|
||||
"minimum": 0.0,
|
||||
"type": "integer"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"namespace": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"qualifiedName": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"index",
|
||||
"name",
|
||||
"qualifiedName"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"NonSteerableTurnKind": {
|
||||
"enum": [
|
||||
"review",
|
||||
@@ -165,6 +192,14 @@
|
||||
]
|
||||
},
|
||||
"data": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/TurnErrorData"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null
|
||||
},
|
||||
"message": {
|
||||
@@ -175,6 +210,59 @@
|
||||
"message"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"TurnErrorData": {
|
||||
"oneOf": [
|
||||
{
|
||||
"properties": {
|
||||
"backend": {
|
||||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"enum": [
|
||||
"dynamicToolInputSchema"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"remediation": {
|
||||
"type": "string"
|
||||
},
|
||||
"schemaPath": {
|
||||
"type": [
|
||||
"string",
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"tool": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/DynamicToolSchemaErrorTool"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
]
|
||||
},
|
||||
"toolCandidates": {
|
||||
"items": {
|
||||
"$ref": "#/definitions/DynamicToolSchemaErrorTool"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"underlyingError": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"backend",
|
||||
"reason",
|
||||
"remediation",
|
||||
"toolCandidates",
|
||||
"underlyingError"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
|
||||
Reference in New Issue
Block a user