Skip to content

AgentPrismTestHostOptions

Namespace AgentPrism.Testing · Assembly AgentPrism.Testing.dll

Settings for AgentPrismTestHost.StartAsync.

public sealed class AgentPrismTestHostOptions

objectAgentPrismTestHostOptions

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public AgentPrismTestHostOptions()

Changes the AgentPrism chain (tool, agent, skill, extra model provider registration).

public Action<IAgentPrismBuilder>? ConfigureAgentPrism { get; set; }

Action<IAgentPrismBuilder>?

Changes the MapAgentPrism endpoint settings.

public Action<AgentPrismEndpointOptions>? ConfigureEndpoints { get; set; }

Action<AgentPrismEndpointOptions>?

Registers additional services. Runs BEFORE the AddAgentPrism call.

public Action<IServiceCollection>? ConfigureServices { get; set; }

Action<IServiceCollection>?

The default model provider registered on the host. Usually the only thing you need to configure for your own agents and tools.

public FakeModelProvider ModelProvider { get; set; }

FakeModelProvider

Route prefix.

public string Prefix { get; set; }

string