System-Prompt: Identity-Fallback nur bei UseIdentity, USER.md-Pfad anzeigen, Markdown h1/h2 Styling
This commit is contained in:
1 parent
6df3591d8b
commit
342284dd3e
2 files changed
+15
-2
No files matched your search
@@ -21,7 +21,7 @@ public static class SystemPromptBuilder
|
||||
hasIdentity = true;
|
||||
}
|
||||
}
|
||||
if (!hasIdentity)
|
||||
if (!hasIdentity && agent.UseIdentity)
|
||||
parts.Add($"Du bist {agent.Name}.");
|
||||
|
||||
// SOUL.md - Persönlichkeit + Regeln
|
||||
@@ -40,7 +40,10 @@ public static class SystemPromptBuilder
|
||||
{
|
||||
var userContent = System.IO.File.ReadAllText(userFile);
|
||||
if (!string.IsNullOrWhiteSpace(userContent))
|
||||
parts.Add(userContent);
|
||||
{
|
||||
var absolutePath = System.IO.Path.GetFullPath(userFile);
|
||||
parts.Add($"{userContent}\n\n_Pfad: `{absolutePath}`_");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -35,6 +35,16 @@
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.markdown h1 {
|
||||
font-size: calc(var(--font-size) * 1.5);
|
||||
padding-bottom: .125em;
|
||||
border-bottom: 1px solid var(--f3-border);
|
||||
}
|
||||
|
||||
.markdown h2 {
|
||||
font-size: calc(var(--font-size) * 1.25);
|
||||
}
|
||||
|
||||
.markdown ul,
|
||||
.markdown ol {
|
||||
margin: 0 0 .5em 0;
|
||||
|
||||
Reference in new issue
Block a user