akashi_google 0.3.1 copy "akashi_google: ^0.3.1" to clipboard
akashi_google: ^0.3.1 copied to clipboard

Google Gemini provider adapter for the Akashi agent framework: wraps googleai_dart behind Akashi's LanguageModel contract, with structured output, tool calls, and embeddings.

Changelog #

0.3.1 #

  • Docs: README status now reflects v0.3 (was stale at v0.1). No code or API changes.

0.3.0 #

  • Coordinated 0.3.0 release (tracks akashi 0.3.0).
  • GoogleProvider.close() releases the shared HTTP client (a no-op when an external client was injected).
  • Complete FinishReason mapping: the safety / recitation / blocklist family now surfaces as contentFilter instead of other.
  • Streaming now honors request.cancel, stopping the upstream drain on cancellation.

0.2.0 #

  • Structured output: GeminiModel declares StructuredOutputCapable (jsonSchema/toolMode/promptOnly) and wires JsonResponseFormat onto Gemini's responseMimeType + responseSchema.
  • ToolChoice mapping: auto/any/none/specific now map to toolConfig.functionCallingConfig (with allowedFunctionNames for a specific tool); previously only auto was honored.
  • Embeddings: GoogleProvider implements EmbeddingProvider, returning a GeminiEmbeddingModel over embedContent.
  • First offline test/ (against a mock HTTP client) and a runnable example/.

0.1.0 #

Initial release.

  • GoogleProvider and a Gemini LanguageModel over googleai_dart 8.x.
  • Maps Akashi ModelRequest (messages, tools, tool choice) to Gemini generateContent / streamGenerateContent.
  • Normalizes streamed text, function calls, finish reason, and usage metadata into Akashi's ModelStreamPart union.
0
likes
160
points
128
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Google Gemini provider adapter for the Akashi agent framework: wraps googleai_dart behind Akashi's LanguageModel contract, with structured output, tool calls, and embeddings.

Repository (GitHub)
View/report issues

Topics

#ai #agents #llm #gemini

License

MIT (license)

Dependencies

akashi, googleai_dart

More

Packages that depend on akashi_google