mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-16 14:03:43 +08:00
add o1 model
This commit is contained in:
@@ -22,7 +22,7 @@ export function useAllModels() {
|
|||||||
configStore.dontUseModel,
|
configStore.dontUseModel,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// @ts-expect-error
|
// -@ts-expect-error
|
||||||
// if (status === "authenticated" && !session?.user?.isAdmin) {
|
// if (status === "authenticated" && !session?.user?.isAdmin) {
|
||||||
// // TODO: 过滤非管理员用户可使用的模型
|
// // TODO: 过滤非管理员用户可使用的模型
|
||||||
// return models.filter((m) => !m.name.endsWith("-all"));
|
// return models.filter((m) => !m.name.endsWith("-all"));
|
||||||
|
|||||||
Reference in New Issue
Block a user