fix: when dropping unsupported metadata match on providerID/model.id instead of providerID/model.api.id to prevent regression when using legacy model ids (pre-variant)

This commit is contained in:
Aiden Cline
2026-01-21 13:39:42 -06:00
parent ca656cf47c
commit 54714b7d10
+1 -1
View File
@@ -477,7 +477,7 @@ export namespace MessageV2 {
}
if (msg.info.role === "assistant") {
const differentModel = `${model.providerID}/${model.api.id}` !== `${msg.info.providerID}/${msg.info.modelID}`
const differentModel = `${model.providerID}/${model.id}` !== `${msg.info.providerID}/${msg.info.modelID}`
if (
msg.info.error &&