mirror of
https://github.com/openai/codex.git
synced 2026-04-25 07:05:38 +00:00
69 lines
1.3 KiB
JSON
69 lines
1.3 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"ThreadGoal": {
|
|
"properties": {
|
|
"createdAt": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
},
|
|
"objective": {
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"$ref": "#/definitions/ThreadGoalStatus"
|
|
},
|
|
"threadId": {
|
|
"type": "string"
|
|
},
|
|
"tokenBudget": {
|
|
"format": "int64",
|
|
"type": [
|
|
"integer",
|
|
"null"
|
|
]
|
|
},
|
|
"tokensUsed": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
},
|
|
"updatedAt": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": [
|
|
"createdAt",
|
|
"objective",
|
|
"status",
|
|
"threadId",
|
|
"tokensUsed",
|
|
"updatedAt"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ThreadGoalStatus": {
|
|
"enum": [
|
|
"active",
|
|
"paused",
|
|
"budgetStopped",
|
|
"complete"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"properties": {
|
|
"goal": {
|
|
"$ref": "#/definitions/ThreadGoal"
|
|
},
|
|
"threadId": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"goal",
|
|
"threadId"
|
|
],
|
|
"title": "ThreadGoalUpdatedNotification",
|
|
"type": "object"
|
|
} |