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:
parent
b33cec485a
commit
aa599b4a7d
1 changed files with 1 additions and 1 deletions
|
|
@ -477,7 +477,7 @@ export namespace MessageV2 {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (msg.info.role === "assistant") {
|
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 (
|
if (
|
||||||
msg.info.error &&
|
msg.info.error &&
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue