diff --git a/Services/SystemPromptBuilder.cs b/Services/SystemPromptBuilder.cs index b784932..d8d7c3b 100644 --- a/Services/SystemPromptBuilder.cs +++ b/Services/SystemPromptBuilder.cs @@ -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}`_"); + } } } diff --git a/wwwroot/css/markdown.css b/wwwroot/css/markdown.css index a1b8aea..4387ff1 100644 --- a/wwwroot/css/markdown.css +++ b/wwwroot/css/markdown.css @@ -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;