Table of Contents

Class InteractionAgentConfig

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Agent configuration (agent_config), discriminated by type.

[JsonConverter(typeof(InteractionAgentConfigConverter))]
public abstract class InteractionAgentConfig
Inheritance
InteractionAgentConfig
Derived
Inherited Members
Extension Methods

Constructors

InteractionAgentConfig(string)

Initializes a new agent configuration with the given discriminator.

protected InteractionAgentConfig(string type)

Parameters

type string

The type discriminator.

Properties

ExtensionData

Additional fields (for DynamicAgentConfig these are the configuration itself).

[JsonExtensionData]
public Dictionary<string, JsonElement>? ExtensionData { get; set; }

Property Value

Dictionary<string, JsonElement>

Type

The agent configuration type (deep-research, antigravity, code-mender, dynamic).

[JsonPropertyName("type")]
public string Type { get; }

Property Value

string