- Revised system prompt with concrete prohibitions against verbosity and premature stopping - Added GenerationParams (max_tokens, temperature, frequency/presence penalty) threading from agent config through backend ChatStream calls - Added stall detection: emits "stalled" role on max-steps hit or zero tool calls with content, surfaces as "stalled" in status bar - Added per-session file read range tracking: warns on overlapping re-reads, blocks file_write unless the target range was previously read - Added general tool-call dedup: warns on exact (name, args) repeats for non-file tools - Both caches invalidated on /compact and /clear; file read cache invalidated per-path on file_write - Updated all agent configs with documenting defaults for new generation params Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| config.go | ||
| config_test.go | ||