Commit d3f305f
Regenerate daily lesson when user provides a new topic suggestion
Previously, prepare_lesson_generation returned today's cached lesson
regardless of topic. Now it deletes the old lesson and regenerates
when the user provides a topic that differs from the existing one.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent fcd74a1 commit d3f305f
1 file changed
Lines changed: 13 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
70 | 79 | | |
71 | 80 | | |
72 | 81 | | |
| |||
0 commit comments