StartupContextConfig class
Configuration for startup context injection.
Controls how memory and context are loaded at the beginning of a new or reset agent session.
Constructors
Properties
-
applyOn
→ List<
String> -
Which session actions trigger startup context injection.
Typically:
'new', 'reset'.final - dailyMemoryDays → int
-
How many days of daily memory files to load.
final
- enabled → bool
-
Whether startup context injection is enabled.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- markUntrusted → bool
-
Whether to mark injected memory as untrusted.
final
- maxFileBytes → int
-
Maximum bytes per memory file before truncation.
final
- maxFileChars → int
-
Maximum characters per memory file after decoding.
final
- maxTotalChars → int
-
Maximum total characters across all memory sources.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{bool? enabled, List< String> ? applyOn, int? dailyMemoryDays, int? maxFileBytes, int? maxFileChars, int? maxTotalChars, bool? markUntrusted}) → StartupContextConfig -
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