picoclaw/pkg/providers/openai_compat
shikihane a4e5c391bd fix(openai_compat): preserve reasoning_content in serializeMessages
The serializeMessages() function was not preserving the reasoning_content
field when serializing messages for vision API calls. This caused the
TestProviderChat_PreservesReasoningContentInHistory test to fail.

This fix ensures reasoning_content is included in both text-only messages
and vision messages with media attachments.

Co-authored-by: Zachary Guerrero <zack.grrr@gmail.com>
2026-03-02 17:38:08 +08:00
..
provider.go fix(openai_compat): preserve reasoning_content in serializeMessages 2026-03-02 17:38:08 +08:00
provider_test.go fix: preserve reasoning_content in multi-turn conversation history 2026-03-01 16:23:05 +08:00