mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-01 23:56:39 +08:00
add o1 model
This commit is contained in:
parent
03731c74e3
commit
bd172064b5
@ -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"));
|
||||||
|
Loading…
Reference in New Issue
Block a user