docs(ai): Update README for new content blocks API

- Add API changes section explaining v0.5.15+ changes
- Update Quick Start example to show content array usage
- Update Tool Calling example to filter tool calls from content blocks
- Update Streaming example to use new onEvent callback
- Fix model IDs in provider-specific examples
This commit is contained in:
Mario Zechner 2025-08-31 22:17:17 +02:00
parent 0f2eaa70e9
commit 80da49cd40
2 changed files with 80 additions and 28 deletions

View file

@ -486,8 +486,8 @@ export const PROVIDERS = {
reasoning: true,
input: ["text"],
cost: {
input: 0.1999188,
output: 0.800064,
input: 0.32986602,
output: 1.3201056,
cacheRead: 0,
cacheWrite: 0,
},