ai_sdk_groq 1.2.0 copy "ai_sdk_groq: ^1.2.0" to clipboard
ai_sdk_groq: ^1.2.0 copied to clipboard

Groq provider for AI SDK Dart. Use Groq-hosted models for fast text generation.

1.2.0 #

  • Rebuilt on the shared ai_sdk_openai_compatible base; Groq models now get real tool use and multimodal image input in addition to streaming + usage reporting.
  • Errors: non-2xx responses now surface as a typed AiApiCallError (via the shared base).
  • Now requires ai_sdk_openai_compatible ^1.2.0.
  • 100% line coverage.

1.1.0 #

  • Bumped ai_sdk_provider constraint to ^1.1.0.
  • Version aligned with the rest of the monorepo.

1.0.0 #

First stable release.

  • groq(modelId) factory — create language model instances for Groq-hosted models (Llama, Mixtral, Gemma, etc.).
  • Full SSE streaming via Groq's OpenAI-compatible API.
  • Tool call support with delta accumulation.
  • stream_options: {include_usage: true} for streaming usage reporting.
  • Configurable apiKey and baseUrl.
0
likes
150
points
140
downloads

Documentation

API reference

Publisher

verified publisherhashstudios.dev

Weekly Downloads

Groq provider for AI SDK Dart. Use Groq-hosted models for fast text generation.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

ai_sdk_openai_compatible, ai_sdk_provider, dio

More

Packages that depend on ai_sdk_groq