TracingMockStrategy class
Fallback strategy that reports tracing-mode unavailability.
- Inheritance
-
- Object
- BaseMockStrategy
- TracingMockStrategy
Constructors
- TracingMockStrategy({required String llmName, required GenerateContentConfig llmConfig})
- Creates a tracing mock strategy.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- llmConfig → GenerateContentConfig
-
Model configuration associated with this strategy.
final
- llmName → String
-
Model name associated with this strategy.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
mock(
BaseTool tool, Map< String, Object?> args, Object toolContext, ToolConnectionMap? toolConnectionMap, Map<String, Object?> stateStore, {String? environmentData}) → Future<Map< String, Object?> > -
Returns a standardized error payload indicating tracing is unavailable.
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 ==(
Object other) → bool -
The equality operator.
inherited