mirror of
https://github.com/codeaashu/claude-code.git
synced 2026-04-08 22:28:48 +03:00
claude-code
This commit is contained in:
16
web/lib/constants.ts
Normal file
16
web/lib/constants.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
export const MODELS = [
|
||||
{ id: "claude-opus-4-6", label: "Claude Opus 4.6", description: "Most capable" },
|
||||
{ id: "claude-sonnet-4-6", label: "Claude Sonnet 4.6", description: "Balanced" },
|
||||
{ id: "claude-haiku-4-5-20251001", label: "Claude Haiku 4.5", description: "Fastest" },
|
||||
] as const;
|
||||
|
||||
export const DEFAULT_MODEL = "claude-sonnet-4-6";
|
||||
|
||||
export const API_ROUTES = {
|
||||
chat: "/api/chat",
|
||||
stream: "/api/stream",
|
||||
} as const;
|
||||
|
||||
export const MAX_MESSAGE_LENGTH = 100_000;
|
||||
|
||||
export const STREAMING_CHUNK_SIZE = 64;
|
||||
Reference in New Issue
Block a user