Review Feature Access
Nucleic-Session: 85A6233A-F3F6-44B2-AD0B-261D49EE9C35 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -601,7 +601,8 @@ final class RemoteStore: ObservableObject {
|
||||
guard let self else { return }
|
||||
func pause(_ ms: Int) async -> Bool {
|
||||
try? await Task.sleep(for: .milliseconds(ms))
|
||||
return !Task.isCancelled && self.demoMode
|
||||
if Task.isCancelled { return false }
|
||||
return self.demoMode
|
||||
}
|
||||
guard await pause(600) else { return }
|
||||
self.demoAppend(sessionID, .assistantText(TextChunk(
|
||||
|
||||
Reference in New Issue
Block a user