Commit e35a171
committed
fix(jason): strip fallback chain to prevent context blowout and cost overruns
Session hit 97k tokens after hallucination loop, fell through all 7 fallbacks
to GLM-4.5-air which returned empty content arrays (the null response bug).
Changes:
- Fallback: 7 models → 1 (cerebras/qwen-3-235b-a22b-instruct-2507 only)
- context_window_limit: 65536 → 32768 (RTX 3090 hard limit)
- context_budget_tokens: 40000 → 18000 (matches 55% compaction threshold)
Matching changes applied to openclaw.json + lossless-claw threshold 0.7 → 0.55.
Web search disabled (grok provider broken without xai plugin).1 parent 49c0e35 commit e35a171
1 file changed
+3
-9
lines changedLines changed: 3 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | 17 | | |
24 | 18 | | |
25 | 19 | | |
26 | | - | |
| 20 | + | |
27 | 21 | | |
28 | 22 | | |
29 | 23 | | |
| |||
37 | 31 | | |
38 | 32 | | |
39 | 33 | | |
40 | | - | |
| 34 | + | |
41 | 35 | | |
42 | 36 | | |
43 | 37 | | |
| |||
0 commit comments