claude-code

This commit is contained in:
ashutoshpythoncs@gmail.com
2026-03-31 18:58:05 +05:30
parent a2a44a5841
commit b564857c0b
2148 changed files with 564518 additions and 2 deletions

16
web/lib/constants.ts Normal file
View 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;