add o1 model

This commit is contained in:
sijinhui 2024-09-14 17:59:11 +08:00
parent 03731c74e3
commit bd172064b5

View File

@ -22,7 +22,7 @@ export function useAllModels() {
configStore.dontUseModel,
]);
// @ts-expect-error
// -@ts-expect-error
// if (status === "authenticated" && !session?.user?.isAdmin) {
// // TODO: 过滤非管理员用户可使用的模型
// return models.filter((m) => !m.name.endsWith("-all"));