fix: auto-open model-selector when model is not found (#448)
Change the check from checking if the model has been deprecated to check if the model_not_found https://github.com/user-attachments/assets/ad0f7daf-5eb4-4e4b-89e5-04240044c64f
This commit is contained in:
committed by
GitHub
parent
ee3a9bc14b
commit
655564f25d
@@ -117,7 +117,7 @@ function TerminalChatResponseMessage({
|
||||
const systemMessage = message.content.find(
|
||||
(c) => c.type === "input_text",
|
||||
)?.text;
|
||||
if (systemMessage?.includes("has been deprecated")) {
|
||||
if (systemMessage?.includes("model_not_found")) {
|
||||
setOverlayMode?.("model");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user