co-mono/packages/ai/test
Mario Zechner 35fe8f21e9 feat(ai): Implement Zod-based tool validation and improve Agent API
- Replace JSON Schema with Zod schemas for tool parameter definitions
- Add runtime validation for all tool calls at provider level
- Create shared validation module with detailed error formatting
- Update Agent API with comprehensive event system
- Add agent tests with calculator tool for multi-turn execution
- Add abort test to verify proper handling of aborted requests
- Update documentation with detailed event flow examples
- Rename generate.ts to stream.ts for clarity
2025-09-09 14:58:54 +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): Implement Zod-based tool validation and improve Agent API 2025-09-09 14:58:54 +02:00
agent.test.ts feat(ai): Implement Zod-based tool validation and improve Agent API 2025-09-09 14:58:54 +02:00
empty.test.ts feat(ai): Implement Zod-based tool validation and improve Agent API 2025-09-09 14:58:54 +02:00
generate.test.ts feat(ai): Implement Zod-based tool validation and improve Agent API 2025-09-09 14:58:54 +02:00
handoff.test.ts feat(ai): Implement Zod-based tool validation and improve Agent API 2025-09-09 14:58:54 +02:00
tool-validation.test.ts feat(ai): Implement Zod-based tool validation and improve Agent API 2025-09-09 14:58:54 +02:00