FakeModelRequest
Namespace AgentPrism.Testing · Assembly
AgentPrism.Testing.dllA single request that reached the fake provider.
public sealed record FakeModelRequest : IEquatable<FakeModelRequest>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”FakeModelRequest()
Section titled “ FakeModelRequest()”public FakeModelRequest()Properties
Section titled “Properties”IsStreaming
Section titled “ IsStreaming”Whether this was a streaming call.
public bool IsStreaming { get; init; }Property Value
Section titled “Property Value”Messages
Section titled “ Messages”Message history in the request.
public required IReadOnlyList<ChatMessage> Messages { get; init; }Property Value
Section titled “Property Value”IReadOnlyList<ChatMessage>
Options
Section titled “ Options”Options that came with the request. Also carries tool definitions.
public ChatOptions? Options { get; init; }Property Value
Section titled “Property Value”ChatOptions?
Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(FakeModelRequest?)
Section titled “ Equals(FakeModelRequest?)”public bool Equals(FakeModelRequest? other)Parameters
Section titled “Parameters”other FakeModelRequest?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(FakeModelRequest?, FakeModelRequest?)
Section titled “ operator ==(FakeModelRequest?, FakeModelRequest?)”public static bool operator ==(FakeModelRequest? left, FakeModelRequest? right)Parameters
Section titled “Parameters”left FakeModelRequest?
right FakeModelRequest?
Returns
Section titled “Returns”operator !=(FakeModelRequest?, FakeModelRequest?)
Section titled “ operator !=(FakeModelRequest?, FakeModelRequest?)”public static bool operator !=(FakeModelRequest? left, FakeModelRequest? right)Parameters
Section titled “Parameters”left FakeModelRequest?
right FakeModelRequest?