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 a035913514 fix: only use json wire field for JSON objects in tool results
Bare JSON scalars (0, true, null, "string") and arrays pass
json.Valid() but the Kiro API rejects them in the json field with
ValidationException. Once such a tool result is in session history,
every subsequent request fails, making the session unrecoverable.

Restrict the json path to content starting with '{' so only actual
JSON objects are sent that way; everything else uses the text field.
2026-04-13 16:21:45 +02:00
..
anthropic.go backend: add ContextLength, Models, and auto-compaction 2026-04-10 19:35:44 +02:00
backend.go backend: add ContextLength, Models, and auto-compaction 2026-04-10 19:35:44 +02:00
codewhisperer.go fix: only use json wire field for JSON objects in tool results 2026-04-13 16:21:45 +02:00
codewhisperer_internal.go backend: add ContextLength, Models, and auto-compaction 2026-04-10 19:35:44 +02:00
copilot.go refactor: promote backend/config to pkg/, extract TUI to ollie-tui 2026-04-09 22:05:35 +02:00
new.go backend: add Backends() listing supported backend names 2026-04-13 14:45:14 +02:00
ollama.go backend: add ContextLength, Models, and auto-compaction 2026-04-10 19:35:44 +02:00
openai.go backend: add ContextLength, Models, and auto-compaction 2026-04-10 19:35:44 +02:00