feat(gdk): preserve thinking and redacted-thinking blocks across turns (#11636)

This commit is contained in:
Alex Hancock
2026-08-31 15:24:39 +00:00
committed by GitHub
parent 5dc3fa847e
commit 7d97fe1ead
2 changed files with 377 additions and 3 deletions
+24
View File
@@ -410,6 +410,18 @@
"type": "String",
"default": null,
"docs": ""
},
{
"name": "provider_metadata_json",
"type": "Option<String>",
"default": null,
"docs": ""
},
{
"name": "tool_error_json",
"type": "Option<String>",
"default": null,
"docs": ""
}
]
},
@@ -669,6 +681,12 @@
"type": "String",
"default": null,
"docs": ""
},
{
"name": "provider_metadata_json",
"type": "Option<String>",
"default": null,
"docs": ""
}
]
},
@@ -800,6 +818,12 @@
"default": null,
"docs": ""
},
{
"name": "content",
"type": "Vec<MessageContent>",
"default": null,
"docs": "The assistant turn as binding types, ready to append to history and replay on the next request without reparsing `message_json`."
},
{
"name": "usage",
"type": "Option<Usage>",