picoclaw/pkg
winterfx d224397f40 fix: preserve reasoning_content for OpenAI-compatible reasoning models
Models like Moonshot kimi-k2.5 and DeepSeek-R1 return a
reasoning_content field in assistant messages. When thinking is enabled,
the API requires this field to be echoed back in subsequent requests.
PicoClaw was silently dropping it, causing 400 errors on tool-call
round-trips.

- Add ReasoningContent to Message and LLMResponse types
- Parse reasoning_content in openai_compat parseResponse()
- Carry reasoning_content through assistant tool-call messages
- Add unit test for reasoning_content parsing

Fixes #588
2026-02-21 23:29:40 +08:00
..
agent fix: preserve reasoning_content for OpenAI-compatible reasoning models 2026-02-21 23:29:40 +08:00
auth feat(fmt): Fix formatting 2026-02-20 20:03:11 +02:00
bus Prevent panic on publish after MessageBus is closed (#223) 2026-02-16 15:04:25 +08:00
channels feat(linter): Fix govet linter 2026-02-20 22:35:16 +02:00
config feat(fmt): Fix formatting 2026-02-20 20:03:11 +02:00
constants refactor: replace bool map with set-style map for internal channels (#472) 2026-02-19 11:48:17 +01:00
cron feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
devices feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
health Add health check endpoints (/health and /ready) for container orchestration liveness and readiness probes. (#104) 2026-02-16 11:53:11 +08:00
heartbeat feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
logger feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
migrate feat(linter): Fix govet linter 2026-02-20 22:35:16 +02:00
providers fix: preserve reasoning_content for OpenAI-compatible reasoning models 2026-02-21 23:29:40 +08:00
routing feat: add multi-agent routing with declarative bindings 2026-02-13 12:12:33 -03:00
session feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
skills feat(fmt): Fix formatting 2026-02-20 20:03:11 +02:00
state feat(fmt): Run formatters 2026-02-18 21:48:23 +02:00
tools fix: golangci-lint run --fix 2026-02-21 16:20:15 +08:00
utils feat(fmt): Fix formatting 2026-02-20 20:03:11 +02:00
voice feat(linter): Fix govet linter 2026-02-20 22:35:16 +02:00