Commit 4e0a9cd
committed
fix: persist modelContextLimit immediately after caching
The chat.message save always ran before the system.prompt hook cached
modelContextLimit, so the value never reached disk and restarts could
not restore it. Save right after caching in the system.prompt hook.1 parent 58cd6ed commit 4e0a9cd
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
71 | 77 | | |
72 | 78 | | |
73 | 79 | | |
| |||
0 commit comments