ai_sdk_google 1.0.0+1
ai_sdk_google: ^1.0.0+1 copied to clipboard
Google Generative AI provider for the AI SDK Dart port.
1.0.0+1 #
- Improved pubspec descriptions for better pub.dev discoverability.
- Added
example/example.mdwith usage examples and links to runnable apps.
1.0.0 #
First stable release. Depends on ai_sdk_dart 1.0.0.
google('gemini-2.0-flash')factory — create language model instances.googleEmbedding(modelId)— text embedding models.- Full SSE streaming via
:streamGenerateContentendpoint. functionCallparts →ToolCallPartmapping.- Function tool declarations and
toolConfigchoice mapping. STOP/MAX_TOKENS/SAFETYfinish reason mapping.- Source, file content, and raw finish reason forwarding.
- Configurable
baseUrl.
0.2.0 #
- Initial release.
google(modelId)factory for language model instances.googleEmbedding(modelId)factory for embedding model instances.- Full SSE streaming with tool call support.
- Function tool declarations and tool choice config mapping.
- Source and file content extraction.
- Provider metadata and raw finish reason forwarding.