Fixed and improved the system prompt of chats started from assistants (#1172)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-06 17:44:58 +01:00
1 parent bbf4dc2231
commit 31862f5ecd
50 files changed
+1112 -107

No files matched your search

@@ -19,6 +19,12 @@ public sealed record SystemPromptPart(SystemPromptPartKind Kind, string Text)
/// </summary>
public string SourceName { get; init; } = string.Empty;
/// <summary>
/// Which assistant chose the base prompt, and how, when the chat continues the conversation of an
/// assistant; null for every other part.
/// </summary>
public ChatSystemPromptOrigin? Origin { get; init; }
/// <summary>
/// The tools whose usage policy the part states; empty for every other part.
/// </summary>