rony-llm-agent/pkg
Victor Vargas e6830161bc fix(llamacpp,anthropic): SSE headroom, no-choices guard, real context window
- llamacpp: 4MB SSE scanner buffer (the 64KB bufio.Scanner default killed
  streams whose single line exceeded it, e.g. a write tool call carrying a
  whole file) and an empty-choices guard in toResponse instead of a panic;
  request payload now uses bytes.NewReader (drops a full string copy).
- anthropic: Capabilities() reported a 1M-token context window for any
  non-haiku model. Callers use that number to decide when to compact, so
  compaction would have fired far too late and requests overflowed the
  real window. Default is now the standard 200k, configurable via
  Config.ContextWindow for extended-window models/plans.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-12 16:14:15 -07:00
..
agent fix(agent): RunStream never surfaced tool calls to callers 2026-07-10 00:04:44 -07:00
config feat(config): add YAML config loader with hierarchical precedence 2026-06-30 23:53:20 -07:00
llm fix(llamacpp,anthropic): SSE headroom, no-choices guard, real context window 2026-07-12 16:14:15 -07:00
persona feat(agent): wire AGENTS.md discovery into the agent loop's system prompt 2026-07-08 23:27:17 -07:00
rag feat(rag): add SQLite+FTS5 backend, fix content/usage plumbing bugs 2026-07-06 00:05:30 -07:00
tools Fix tool call tracking and streaming assembly for all providers 2026-07-08 16:11:57 -07:00