menu
dutato
presentation/screens/domains/import_curriculum_screen.dart
import_curriculum_screen
dark_mode
light_mode
presentation/screens/domains/import_curriculum_screen
library
Classes
ImportCurriculumScreen
Lets a solo learner turn pasted source material into a curriculum without
leaving the app (audit H5).
ProposedCurriculum
A curriculum the model proposed from pasted text, before it is written.
Constants
kImportMaxChars
→ const int
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.
kImportMinChars
→ const int
Shortest paste worth sending to the model. Below this there is nothing to
organize and the round trip only spends the learner's tokens.