Skip to content

Commit e35a171

Browse files
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

File tree

1 file changed

+3
-9
lines changed
  • examples/jason-my-claw-is-the-law-deebee-4567b4

1 file changed

+3
-9
lines changed

examples/jason-my-claw-is-the-law-deebee-4567b4/agent.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
spec_version: "0.1.0"
22
name: jason-my-claw-is-the-law-deebee-4567b4
33
display_name: "Jason — My Claw IS the Law — DeeBee #4567b4"
4-
version: 1.0.0
4+
version: 1.1.0
55
description: >
66
Jason — CEO-mode AI agent for growing the ARC Angels Advance Reader Community.
77
DeeBee #4567b4 (blue). Runs on OpenClaw with a local RTX 3090 primary model
@@ -14,16 +14,10 @@ model:
1414
preferred: ollama/qwen3-coder:latest
1515
fallback:
1616
- cerebras/qwen-3-235b-a22b-instruct-2507
17-
- cerebras/llama3.1-8b
18-
- openrouter/z-ai/glm-4.5-air
19-
- openrouter/qwen/qwen3-coder
20-
- openrouter/nousresearch/hermes-3-llama-3.1-405b:free
21-
- openrouter/anthropic/claude-opus-4.6
22-
- ollama/gpt-oss:20b
2317
constraints:
2418
temperature: 0.3
2519
max_tokens: 4096
26-
context_window_limit: 65536
20+
context_window_limit: 32768
2721

2822
skills:
2923
- packet-factory
@@ -37,7 +31,7 @@ runtime:
3731
retry_policy:
3832
max_retries: 3
3933
strategy: different_approach
40-
context_budget_tokens: 40000
34+
context_budget_tokens: 18000
4135
tool_budget_calls: 15
4236

4337
identity:

0 commit comments

Comments
 (0)