fix: reasoning metadata persistence (#2602)

This commit is contained in:
Aiden Cline
2025-09-14 16:28:06 -05:00
committed by GitHub
parent 4bf0541bd6
commit e3e459fc50
2 changed files with 11 additions and 1 deletions

View File

@@ -549,6 +549,15 @@ export namespace MessageV2 {
},
]
}
if (part.type === "reasoning") {
return [
{
type: "reasoning",
text: part.text,
providerMetadata: part.metadata,
},
]
}
return []
}),