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
428
-
history.append(.init(
429
-
role:.assistant,
430
-
content:"",
431
-
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."
432
-
))
433
-
}
434
-
}elseif !customCommandPrefix.isEmpty {
435
-
await chat.chatGPTService.mutateHistory{ history in
436
-
history.append(.init(
437
-
role:.assistant,
438
-
content:"",
439
-
summary:"\(customCommandPrefix)System prompt is updated."
0 commit comments