SingleTurnResult class
Result of a single-turn Ollama→Copilot round-trip.
Constructors
- SingleTurnResult({required String localModelOutput, AiTokenStats? localModelStats, CopilotResponse? copilotResponse})
-
SingleTurnResult.fromJson(Map<
String, dynamic> json) -
factory
Properties
- copilotResponse → CopilotResponse?
-
Copilot's response (null if
sendToCopilotwas false).final - hashCode → int
-
The hash code for this object.
no setterinherited
- localModelOutput → String
-
The local model's generated output.
final
- localModelStats → AiTokenStats?
-
Token stats from the local model.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited