Next.js 16 App Router application with: - AI-powered interactive classroom generation from PDF/text requirements - Multi-agent discussion system (teacher, students, assistant roles) - Provider abstraction for LLM, TTS, ASR, image, video, web search - Local-first data architecture (IndexedDB/Dexie) - i18n support (zh-CN/en-US) - Structured logger, SSRF guard, lint/build passing (0 errors) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
11 lines
277 B
TypeScript
11 lines
277 B
TypeScript
/**
|
|
* Constants for PDF content generation
|
|
* Shared between client and server code
|
|
*/
|
|
|
|
// PDF content truncation limit (characters)
|
|
export const MAX_PDF_CONTENT_CHARS = 50000;
|
|
|
|
// Maximum number of images to send as vision content parts
|
|
export const MAX_VISION_IMAGES = 20;
|