akashi_google 0.3.1
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
akashi0.3.0). GoogleProvider.close()releases the shared HTTP client (a no-op when an external client was injected).- Complete
FinishReasonmapping: the safety / recitation / blocklist family now surfaces ascontentFilterinstead ofother. - Streaming now honors
request.cancel, stopping the upstream drain on cancellation.
0.2.0 #
- Structured output:
GeminiModeldeclaresStructuredOutputCapable(jsonSchema/toolMode/promptOnly) and wiresJsonResponseFormatonto Gemini'sresponseMimeType+responseSchema. ToolChoicemapping:auto/any/none/specific now map totoolConfig.functionCallingConfig(withallowedFunctionNamesfor a specific tool); previously onlyautowas honored.- Embeddings:
GoogleProviderimplementsEmbeddingProvider, returning aGeminiEmbeddingModeloverembedContent. - First offline
test/(against a mock HTTP client) and a runnableexample/.
0.1.0 #
Initial release.
GoogleProviderand a GeminiLanguageModelovergoogleai_dart8.x.- Maps Akashi
ModelRequest(messages, tools, tool choice) to GeminigenerateContent/streamGenerateContent. - Normalizes streamed text, function calls, finish reason, and usage metadata
into Akashi's
ModelStreamPartunion.