mirror of
https://github.com/openai/codex.git
synced 2026-10-29 19:08:43 +00:00
Persist thread artifacts in runtime store
This commit is contained in:
+31
-33
@@ -789,6 +789,14 @@
|
||||
"null"
|
||||
]
|
||||
},
|
||||
"artifacts": {
|
||||
"default": [],
|
||||
"description": "Model-managed artifacts associated with the thread.",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ThreadArtifact"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"cliVersion": {
|
||||
"description": "Version of the CLI that created the thread.",
|
||||
"type": "string"
|
||||
@@ -895,16 +903,6 @@
|
||||
"description": "Unix timestamp (in seconds) when the thread was last updated.",
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"artifacts": {
|
||||
"description": "Model-managed artifacts associated with the thread.",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ThreadArtifact"
|
||||
},
|
||||
"type": [
|
||||
"array",
|
||||
"null"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
@@ -930,6 +928,28 @@
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"ThreadArtifact": {
|
||||
"properties": {
|
||||
"artifactType": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"payload": true
|
||||
},
|
||||
"required": [
|
||||
"artifactType",
|
||||
"createdAt",
|
||||
"id",
|
||||
"payload"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"ThreadId": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -2025,28 +2045,6 @@
|
||||
"type": "object"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ThreadArtifact": {
|
||||
"properties": {
|
||||
"artifactType": {
|
||||
"type": "string"
|
||||
},
|
||||
"createdAt": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"id": {
|
||||
"type": "string"
|
||||
},
|
||||
"payload": true
|
||||
},
|
||||
"required": [
|
||||
"artifactType",
|
||||
"createdAt",
|
||||
"id",
|
||||
"payload"
|
||||
],
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"properties": {
|
||||
@@ -2059,4 +2057,4 @@
|
||||
],
|
||||
"title": "ThreadMetadataUpdateResponse",
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user