mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-09 22:47:22 +08:00
fix: #1815 refuse to serve when disable gpt4
This commit is contained in:
@@ -68,14 +68,6 @@ export const ALL_MODELS = [
|
||||
name: "gpt-4-32k-0314",
|
||||
available: ENABLE_GPT4,
|
||||
},
|
||||
{
|
||||
name: "gpt-4-mobile",
|
||||
available: ENABLE_GPT4,
|
||||
},
|
||||
{
|
||||
name: "text-davinci-002-render-sha-mobile",
|
||||
available: true,
|
||||
},
|
||||
{
|
||||
name: "gpt-3.5-turbo",
|
||||
available: true,
|
||||
|
@@ -84,7 +84,7 @@ export const useUpdateStore = create<UpdateStore>()(
|
||||
}));
|
||||
}
|
||||
} catch (e) {
|
||||
showToast((e as Error).message);
|
||||
console.error((e as Error).message);
|
||||
}
|
||||
},
|
||||
}),
|
||||
|
Reference in New Issue
Block a user