Restore Ultracite + fix sidebar (#1233)
This commit is contained in:
parent
8fbfc253fa
commit
947ed094a6
177 changed files with 6908 additions and 8306 deletions
|
|
@ -1,10 +1,10 @@
|
|||
import type { UserType } from '@/app/(auth)/auth';
|
||||
import type { ChatModel } from './models';
|
||||
import type { UserType } from "@/app/(auth)/auth";
|
||||
import type { ChatModel } from "./models";
|
||||
|
||||
interface Entitlements {
|
||||
type Entitlements = {
|
||||
maxMessagesPerDay: number;
|
||||
availableChatModelIds: Array<ChatModel['id']>;
|
||||
}
|
||||
availableChatModelIds: ChatModel["id"][];
|
||||
};
|
||||
|
||||
export const entitlementsByUserType: Record<UserType, Entitlements> = {
|
||||
/*
|
||||
|
|
@ -12,7 +12,7 @@ export const entitlementsByUserType: Record<UserType, Entitlements> = {
|
|||
*/
|
||||
guest: {
|
||||
maxMessagesPerDay: 20,
|
||||
availableChatModelIds: ['chat-model', 'chat-model-reasoning'],
|
||||
availableChatModelIds: ["chat-model", "chat-model-reasoning"],
|
||||
},
|
||||
|
||||
/*
|
||||
|
|
@ -20,7 +20,7 @@ export const entitlementsByUserType: Record<UserType, Entitlements> = {
|
|||
*/
|
||||
regular: {
|
||||
maxMessagesPerDay: 100,
|
||||
availableChatModelIds: ['chat-model', 'chat-model-reasoning'],
|
||||
availableChatModelIds: ["chat-model", "chat-model-reasoning"],
|
||||
},
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue