You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
await chat.chatGPTService.mutateHistory{ history in
452
451
history.append(.init(
453
452
role:.assistant,
454
453
content:"",
455
-
summary:"\(customCommandPrefix)Chatting about selected code in `\(fileURL.lastPathComponent)` from `\(selection.start.line +1):\(selection.start.character +1)` to `\(selection.end.line +1):\(selection.end.character)`.\nThe code will persist in the conversation."
454
+
summary:"\(customCommandPrefix)Chatting about selected code in `\(fileURL.lastPathComponent)` from `\(selection.start.line +1):\(selection.start.character +1)` to `\(selection.end.line +1):\(selection.end.character)`.\nThe code will persist in the conversation."
456
455
))
457
456
}
458
457
}elseif !customCommandPrefix.isEmpty {
459
458
await chat.chatGPTService.mutateHistory{ history in
460
459
history.append(.init(
461
460
role:.assistant,
462
461
content:"",
463
-
summary:"\(customCommandPrefix)System prompt is updated."
462
+
summary:"\(customCommandPrefix)System prompt is updated."
0 commit comments