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 eabe17a1b1 backend: stream extended thinking / reasoning tokens
- Add StreamEvent.Reasoning for incremental thinking deltas
- Add GenerationParams.ThinkingBudget to enable Anthropic extended thinking
- Anthropic: parse thinking_delta events; set Anthropic-Beta header and
  thinking request param when ThinkingBudget > 0
- OpenAI: parse delta.reasoning (o-series) and delta.reasoning_content
  (OpenRouter) fields
- Loop: emit "reasoning" events wrapped in <think>/</think> markers
- FormatEvent: append reasoning content directly to the chat log

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-26 19:01:27 +02:00
..
anthropic.go backend: stream extended thinking / reasoning tokens 2026-04-26 19:01:27 +02:00
anthropic_stream_test.go backend: 100% coverage for buildAnthropicMessages and streamAnthropicSSE 2026-04-21 15:45:46 +02:00
backend.go backend: stream extended thinking / reasoning tokens 2026-04-26 19:01:27 +02:00
backend_test.go backend: mark codewhisperer as intentionally untested, remove test 2026-04-21 22:09: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 backend: stream extended thinking / reasoning tokens 2026-04-26 19:01:27 +02:00
openai_encode_test.go backend: extract stream parsers, shared HTTP, url.URL, comprehensive tests 2026-04-21 15:32:03 +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