1 Commits

Author SHA1 Message Date
Amar Tinawi
009f4ac560 feat: run Math Animator repairs and Video Lesson fixes on the task model
Repairs are targeted edits to a script that already exists: a render
error, a layout finding, a compile error. With a reasoning chat model
they routinely take minutes (Math Animator repairs regularly ran past
the 180 s repair timeout); the Settings task model does them in seconds.

task_model_agent(factory) builds an agent bound to the task model at its
configured reasoning level, or returns None when no task model is set.

- Math Animator: repair_agent = task-model CodeGeneratorAgent, falling
  back to the main code agent.
- Video Lesson: the first draft is still written by the chat model;
  attempts 2+ go to a task-model LessonWriterAgent that shares the same
  conversation (share_conversation), falling back to the main writer.
2026-10-30 15:18:21 +04:00