CactusCompletionResult class

Constructors

CactusCompletionResult({required bool success, required String response, required double timeToFirstTokenMs, required double totalTimeMs, required double tokensPerSecond, required int prefillTokens, required int decodeTokens, required int totalTokens, List<ToolCall> toolCalls = const []})

Properties

decodeTokens → int
final
hashCode → int
The hash code for this object.
no setterinherited
prefillTokens → int
final
response → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
success → bool
final
timeToFirstTokenMs → double
final
tokensPerSecond → double
final
toolCalls → List<ToolCall>
final
totalTimeMs → double
final
totalTokens → int
final

Methods

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