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
typestringThe
typediscriminator.
Properties
ExtensionData
Additional fields (for DynamicAgentConfig these are the configuration itself).
[JsonExtensionData]
public Dictionary<string, JsonElement>? ExtensionData { get; set; }
Property Value
Type
The agent configuration type (deep-research, antigravity, code-mender, dynamic).
[JsonPropertyName("type")]
public string Type { get; }