co-mono/packages
Mario Zechner f29752ac82 refactor(ai): Update API to support multiple thinking and text blocks
BREAKING CHANGE: AssistantMessage now uses content array instead of separate fields
- Changed AssistantMessage.content from string to array of content blocks
- Removed separate thinking, toolCalls, and signature fields
- Content blocks can be TextContent, ThinkingContent, or ToolCall types
- Updated streaming events to include start/end events for text and thinking
- Fixed multiTurn test to handle new content structure

Note: Currently only Anthropic provider is updated to work with new API
Other providers need to be updated to match the new interface
2025-08-31 19:32:12 +02:00
..
agent test(ai): Add image input test for Anthropic Haiku 3.5 2025-08-30 23:00:30 +02:00
ai refactor(ai): Update API to support multiple thinking and text blocks 2025-08-31 19:32:12 +02:00
pods test(ai): Add image input test for Anthropic Haiku 3.5 2025-08-30 23:00:30 +02:00
tui test(ai): Add image input test for Anthropic Haiku 3.5 2025-08-30 23:00:30 +02:00