AutoCommit: Bool → Dropdown (mention/enforce/forbid), leerer System-Prompt fix
This commit is contained in:
1 parent
7410a18755
commit
40bab457d9
10 files changed
+52
-27
No files matched your search
@@ -146,10 +146,9 @@ public static class ChatEndpoint
|
||||
}, attachmentRecords);
|
||||
}
|
||||
|
||||
var systemPrompt = new List<object>
|
||||
{
|
||||
new { type = "text", text = systemPromptText }
|
||||
};
|
||||
var systemPrompt = string.IsNullOrWhiteSpace(systemPromptText)
|
||||
? new List<object>()
|
||||
: new List<object> { new { type = "text", text = systemPromptText } };
|
||||
|
||||
var workspace = session.Workspace;
|
||||
if (!string.IsNullOrEmpty(workspace))
|
||||
|
||||
Reference in new issue
Block a user