We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79f0895 commit 61bc6bcCopy full SHA for 61bc6bc
Core/Sources/Service/SuggestionCommandHandler/WindowBaseCommandHandler.swift
@@ -406,15 +406,7 @@ extension WindowBaseCommandHandler {
406
return ""
407
}()
408
409
- if specifiedSystemPrompt != nil {
410
- await chat.chatGPTService.mutateHistory { history in
411
- history.append(.init(
412
- role: .assistant,
413
- content: "",
414
- summary: "\(customCommandPrefix)System prompt is updated."
415
- ))
416
- }
417
- } else if !customCommandPrefix.isEmpty {
+ if specifiedSystemPrompt != nil || extraSystemPrompt != nil {
418
await chat.chatGPTService.mutateHistory { history in
419
history.append(.init(
420
role: .assistant,
0 commit comments