FakeEchoChatModelOptions class

Fake Echo Chat Model Options for testing.

Inheritance

Constructors

FakeEchoChatModelOptions({String? model, Map<String, dynamic>? metadata, bool throwRandomError = false, List<ToolSpec>? tools, ChatToolChoice? toolChoice, int concurrencyLimit = 1000})
Fake Echo Chat Model Options for testing.
const

Properties

concurrencyLimit int
The maximum number of concurrent calls that the runnable can make. Defaults to 1000 (different Runnable types may have different defaults).
finalinherited
hashCode int
The hash code for this object.
no setteroverride
metadata Map<String, dynamic>?
Metadata.
final
model String?
ID of the language model to use. Check the provider's documentation for available models.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
throwRandomError bool
If true, throws a random error.
final
toolChoice ChatToolChoice?
Controls which (if any) tool is called by the model.
finalinherited
tools List<ToolSpec>?
A list of tools the model may call.
finalinherited

Methods

copyWith({String? model, Map<String, dynamic>? metadata, bool? throwRandomError, List<ToolSpec>? tools, ChatToolChoice? toolChoice, int? concurrencyLimit}) FakeEchoChatModelOptions
Creates a copy of this RunnableOptions with the given fields replaced by the new values.
override
merge(covariant FakeEchoChatModelOptions? other) FakeEchoChatModelOptions
Merges this RunnableOptions with another RunnableOptions.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(covariant FakeEchoChatModelOptions other) bool
The equality operator.
override