test(ai): Add empty message tests for all providers

- Test handling of empty content arrays
- Test handling of empty string content
- Test handling of whitespace-only content
- All providers handle these edge cases gracefully
This commit is contained in:
Mario Zechner 2025-09-02 02:03:06 +02:00
parent 0fbb0921bb
commit 0ac05a0676
9 changed files with 256 additions and 18 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@mariozechner/pi-ai",
"version": "0.5.26",
"version": "0.5.27",
"description": "Unified LLM API with automatic model discovery and provider configuration",
"type": "module",
"main": "./dist/index.js",