Files
codex/codex-rs/app-server-protocol/schema/json/v2/ThreadContextReadResponse.json
2026-04-06 14:39:05 -07:00

80 lines
1.6 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"ThreadContextWindowBreakdown": {
"properties": {
"modelContextWindow": {
"format": "int64",
"type": [
"integer",
"null"
]
},
"sections": {
"items": {
"$ref": "#/definitions/ThreadContextWindowSection"
},
"type": "array"
},
"totalTokens": {
"format": "int64",
"type": "integer"
}
},
"required": [
"sections",
"totalTokens"
],
"type": "object"
},
"ThreadContextWindowDetail": {
"properties": {
"label": {
"type": "string"
},
"tokens": {
"format": "int64",
"type": "integer"
}
},
"required": [
"label",
"tokens"
],
"type": "object"
},
"ThreadContextWindowSection": {
"properties": {
"details": {
"items": {
"$ref": "#/definitions/ThreadContextWindowDetail"
},
"type": "array"
},
"label": {
"type": "string"
},
"tokens": {
"format": "int64",
"type": "integer"
}
},
"required": [
"details",
"label",
"tokens"
],
"type": "object"
}
},
"properties": {
"context": {
"$ref": "#/definitions/ThreadContextWindowBreakdown"
}
},
"required": [
"context"
],
"title": "ThreadContextReadResponse",
"type": "object"
}