-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDreamOptions.cs
More file actions
45 lines (37 loc) · 1.97 KB
/
Copy pathDreamOptions.cs
File metadata and controls
45 lines (37 loc) · 1.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
namespace RockBot.Host;
/// <summary>
/// Options for the periodic memory consolidation service (dreaming).
/// </summary>
public sealed class DreamOptions
{
/// <summary>Whether dreaming is enabled.</summary>
public bool Enabled { get; set; } = true;
/// <summary>How long to wait after startup before the first dream cycle.</summary>
public TimeSpan InitialDelay { get; set; } = TimeSpan.FromMinutes(5);
/// <summary>How often dream cycles run.</summary>
public TimeSpan Interval { get; set; } = TimeSpan.FromHours(4);
/// <summary>
/// Path to the memory consolidation directive file, relative to <see cref="AgentProfileOptions.BasePath"/>.
/// </summary>
public string DirectivePath { get; set; } = "dream.md";
/// <summary>
/// Path to the skill consolidation directive file, relative to <see cref="AgentProfileOptions.BasePath"/>.
/// When the file does not exist, a built-in fallback directive is used.
/// </summary>
public string SkillDirectivePath { get; set; } = "skill-dream.md";
/// <summary>
/// Path to the skill optimization directive file, relative to <see cref="AgentProfileOptions.BasePath"/>.
/// Used by the post-consolidation pass that improves skills associated with poor sessions.
/// When the file does not exist, a built-in fallback directive is used.
/// </summary>
public string SkillOptimizeDirectivePath { get; set; } = "skill-optimize.md";
/// <summary>
/// Whether the preference inference pass (requires <see cref="IConversationLog"/>) is enabled.
/// </summary>
public bool PreferenceInferenceEnabled { get; set; } = true;
/// <summary>
/// Path to the preference inference directive file, relative to <see cref="AgentProfileOptions.BasePath"/>.
/// When the file does not exist, a built-in fallback directive is used.
/// </summary>
public string PreferenceDirectivePath { get; set; } = "pref-dream.md";
}