Add thread metadata

This commit is contained in:
Guinness Chen
2026-03-24 22:14:25 -07:00
parent 8c62829a2b
commit 4573855b35
43 changed files with 934 additions and 88 deletions

View File

@@ -9770,6 +9770,14 @@
"id": {
"type": "string"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"default": {},
"description": "Arbitrary client-defined metadata.",
"type": "object"
},
"modelProvider": {
"description": "Model provider used for this thread (for example, 'openai').",
"type": "string"
@@ -9958,6 +9966,15 @@
"ephemeral": {
"type": "boolean"
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"type": [
"object",
"null"
]
},
"model": {
"description": "Configuration overrides for the forked thread, if any.",
"type": [
@@ -10898,6 +10915,16 @@
],
"description": "Patch the stored Git metadata for this thread. Omit a field to leave it unchanged, set it to `null` to clear it, or provide a string to replace the stored value."
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"description": "Replace the stored client-defined metadata for this thread.",
"type": [
"object",
"null"
]
},
"threadId": {
"type": "string"
}
@@ -11459,6 +11486,15 @@
"null"
]
},
"metadata": {
"additionalProperties": {
"type": "string"
},
"type": [
"object",
"null"
]
},
"model": {
"type": [
"string",