Table of Contents

Class GeminiAgentExtension

Namespace
AutoGen.Gemini
Assembly
AutoGen.Gemini.dll
public static class GeminiAgentExtension
Inheritance
GeminiAgentExtension
Inherited Members

Methods

RegisterMessageConnector(MiddlewareStreamingAgent<GeminiChatAgent>, GeminiMessageConnector?)

public static MiddlewareStreamingAgent<GeminiChatAgent> RegisterMessageConnector(this MiddlewareStreamingAgent<GeminiChatAgent> agent, GeminiMessageConnector? connector = null)

Parameters

agent MiddlewareStreamingAgent<GeminiChatAgent>
connector GeminiMessageConnector

the connector to use. If null, a new instance of GeminiMessageConnector will be created.

Returns

MiddlewareStreamingAgent<GeminiChatAgent>

RegisterMessageConnector(GeminiChatAgent, GeminiMessageConnector?)

public static MiddlewareStreamingAgent<GeminiChatAgent> RegisterMessageConnector(this GeminiChatAgent agent, GeminiMessageConnector? connector = null)

Parameters

agent GeminiChatAgent
connector GeminiMessageConnector

the connector to use. If null, a new instance of GeminiMessageConnector will be created.

Returns

MiddlewareStreamingAgent<GeminiChatAgent>