co-mono/packages/ai/test
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
..
data feat(ai): Add image input tests for vision-capable models 2025-08-30 18:37:17 +02:00
abort.test.ts feat(ai): Fetch Anthropic, Google, and OpenAI models from models.dev instead of OpenRouter 2025-09-02 01:18:59 +02:00
empty.test.ts test(ai): Add empty assistant message tests 2025-09-02 02:10:07 +02:00
generate.test.ts feat(ai): Add new streaming generate API with AsyncIterable interface 2025-09-02 18:07:46 +02:00
handoff.test.ts feat(ai): Fetch Anthropic, Google, and OpenAI models from models.dev instead of OpenRouter 2025-09-02 01:18:59 +02:00
models.ts feat(ai): Fetch Anthropic, Google, and OpenAI models from models.dev instead of OpenRouter 2025-09-02 01:18:59 +02:00
providers.test.ts feat(ai): Fetch Anthropic, Google, and OpenAI models from models.dev instead of OpenRouter 2025-09-02 01:18:59 +02:00