kImportMaxChars top-level constant

int const kImportMaxChars

Mirrors MAX_STRUCTURE_INPUT_CHARS in supabase/functions/ai-proxy. Enforced client-side too so an oversized paste fails instantly and locally instead of after a request the learner pays for.

Implementation

const int kImportMaxChars = 100000;