co-mono/packages
Mario Zechner 004de3c9d0 feat(ai): Add new streaming generate API with AsyncIterable interface
- Implement QueuedGenerateStream class that extends AsyncIterable with finalMessage() method
- Add new types: GenerateStream, GenerateOptions, GenerateOptionsUnified, GenerateFunction
- Create generateAnthropic function-based implementation replacing class-based approach
- Add comprehensive test suite for the new generate API
- Support streaming events with text, thinking, and tool call deltas
- Map ReasoningEffort to provider-specific options
- Include apiKey in options instead of constructor parameter
2025-09-02 18:07:46 +02:00
..
agent test(ai): Add empty message tests for all providers 2025-09-02 02:03:06 +02:00
ai feat(ai): Add new streaming generate API with AsyncIterable interface 2025-09-02 18:07:46 +02:00
pods test(ai): Add empty message tests for all providers 2025-09-02 02:03:06 +02:00
tui test(ai): Add empty message tests for all providers 2025-09-02 02:03:06 +02:00