SyniFallbackDiagnostics class

Root-cause context for a fallback. prompt / rawOutput are populated only when the runtime ran with capture_diagnostics enabled (a debug opt-in); they carry user + HSI data, so treat them as sensitive.

Constructors

SyniFallbackDiagnostics({required int seed, required String schema, required int maxTokens, required bool likelyTruncated, required List<SyniAttemptDiagnostic> attempts, String? prompt, String? rawOutput})
const
SyniFallbackDiagnostics.fromMap(Map<String, dynamic> m)
factory

Properties

attempts List<SyniAttemptDiagnostic>
Per-attempt failure breakdown (not just the last attempt).
final
hashCode int
The hash code for this object.
no setterinherited
likelyTruncated bool
Heuristic: the last output looked truncated at the token budget.
final
maxTokens int
final
prompt String?
The prompt fed to the model. Sensitive; null unless capture was on.
final
rawOutput String?
The raw failing model output. Sensitive; null unless capture was on.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema String
final
seed 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