This repository has been archived on 2026-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
ollie-core/pkg/backend
Levi Neely 78e5416550 core: freeloader infrastructure — turnError hook, ToolUnsupportedError, prompt.prev, MemoryStore
- backend: ToolUnsupportedError type, isToolUnsupported detector (400/422)
- backend: classifyError maps error types to hook payload strings
- agent: HookTurnError constant; TurnError func on agentConfig set at init
- loop: fire TurnError hook on first backend error; if ran, skip retries
- store: MemoryStore — in-memory KV Store implementation
- store: Session.prevPrompt field; prompt.prev read-only session file
- hooks: inject payload map as OLLIE_* env vars in runHookCmd
- agent: agentSpawn payload includes model field
- agent: limitretry state emitted on RateLimitError backoff

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-28 17:17:25 +02:00
..
anthropic.go core: tool schema caching and large tool result caching 2026-04-28 12:22:45 +02:00
anthropic_stream_test.go core: tests and emission fixes for parallel tool execution and caching 2026-04-28 13:13:32 +02:00
backend.go core: freeloader infrastructure — turnError hook, ToolUnsupportedError, prompt.prev, MemoryStore 2026-04-28 17:17:25 +02:00
backend_test.go agent: retry on transient backend errors and mid-stream drops 2026-04-27 17:54:27 +02:00
codewhisperer.go kiro: implement social token refresh via desktop.kiro.dev 2026-04-26 18:11:21 +02:00
codewhisperer_internal.go kiro: implement social token refresh via desktop.kiro.dev 2026-04-26 18:11:21 +02:00
copilot.go backend: extract stream parsers, shared HTTP, url.URL, comprehensive tests 2026-04-21 15:32:03 +02:00
new.go backend: require OLLIE_BACKEND/OLLIE_MODEL; no silent ollama default 2026-04-26 18:25:39 +02:00
new_test.go backend: require OLLIE_BACKEND/OLLIE_MODEL; no silent ollama default 2026-04-26 18:25:39 +02:00
ollama.go backend: remove unreachable NewRequestWithContext guards (URL validated in ctor) 2026-04-21 15:47:34 +02:00
ollama_stream_test.go backend: extract parseOllamaContextLength, 100% coverage 2026-04-21 15:39:52 +02:00
openai.go core: tool schema caching and large tool result caching 2026-04-28 12:22:45 +02:00
openai_encode_test.go core: caching risk-reduction tests 2026-04-28 14:33:29 +02:00
openai_stream_test.go backend: extract stream parsers, shared HTTP, url.URL, comprehensive tests 2026-04-21 15:32:03 +02:00
openai_test.go backend: extract stream parsers, shared HTTP, url.URL, comprehensive tests 2026-04-21 15:32:03 +02:00
testhelper_test.go backend: extract stream parsers, shared HTTP, url.URL, comprehensive tests 2026-04-21 15:32:03 +02:00