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:
+88
@@ -391,6 +391,33 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"FileUpdateChange": {
|
||||
"properties": {
|
||||
"diff": {
|
||||
@@ -1766,6 +1793,14 @@
|
||||
]
|
||||
},
|
||||
"data": {
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/definitions/TurnErrorData"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": null
|
||||
},
|
||||
"message": {
|
||||
@@ -1777,6 +1812,59 @@
|
||||
],
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
"TurnItemsView": {
|
||||
"oneOf": [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user