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
450
451
history.append(.init(
451
452
role:.assistant,
452
453
content:"",
453
-
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."
454
455
))
455
456
}
456
457
}elseif !customCommandPrefix.isEmpty {
457
458
await chat.chatGPTService.mutateHistory{ history in
458
459
history.append(.init(
459
460
role:.assistant,
460
461
content:"",
461
-
summary:"\(customCommandPrefix)System prompt is updated."
462
+
summary:"\(customCommandPrefix)System prompt is updated."
0 commit comments