Class GeminiAgentExtension
public static class GeminiAgentExtension
- Inheritance
-
GeminiAgentExtension
- Inherited Members
Methods
RegisterMessageConnector(MiddlewareStreamingAgent<GeminiChatAgent>, GeminiMessageConnector?)
Register an GeminiMessageConnector to the MiddlewareAgent<T> where T is GeminiChatAgent
public static MiddlewareStreamingAgent<GeminiChatAgent> RegisterMessageConnector(this MiddlewareStreamingAgent<GeminiChatAgent> agent, GeminiMessageConnector? connector = null)
Parameters
agent
MiddlewareStreamingAgent<GeminiChatAgent>connector
GeminiMessageConnectorthe connector to use. If null, a new instance of GeminiMessageConnector will be created.
Returns
RegisterMessageConnector(GeminiChatAgent, GeminiMessageConnector?)
Register an GeminiMessageConnector to the GeminiChatAgent
public static MiddlewareStreamingAgent<GeminiChatAgent> RegisterMessageConnector(this GeminiChatAgent agent, GeminiMessageConnector? connector = null)
Parameters
agent
GeminiChatAgentconnector
GeminiMessageConnectorthe connector to use. If null, a new instance of GeminiMessageConnector will be created.