extensions_genkit 0.2.0
extensions_genkit: ^0.2.0 copied to clipboard
Genkit adapter for the extensions AI abstractions. Plug Genkit models into the ChatClient pipeline — including logging, caching, and function-invocation middleware — without modifying the core packages.
0.2.0 #
GenkitChatClientnow extendsDelegatingChatClientinstead of implementingChatClientdirectly, enabling correct service resolution through middleware chains.getService()now returnsthiswhen the client itself satisfies the requested type and delegates to the inner client otherwise; previously it always returnednull.
0.1.0 #
- Initial release.
GenkitChatClient— adapts any Genkit model to theextensionsChatClientinterface, including streaming, tool-call pass-through, and cancellation.AIFunctionGenkitExtensions— convertsAIFunctionmetadata to GenkitToolDefinitionand wraps it as a GenkitTool.GenkitServiceCollectionExtensions.addGenkitChatClient— registers the client in aServiceCollectionand returns aChatClientBuilderfor middleware chaining.