Add overrides on summary continue

This commit is contained in:
Webifi 2023-06-11 19:05:23 -05:00
parent 7512d67ab6
commit 4353a8c184
1 changed files with 3 additions and 2 deletions

View File

@ -159,7 +159,7 @@ export class ChatRequest {
// ?? anything to do when "[DONE]"? // ?? anything to do when "[DONE]"?
} else { } else {
const data = JSON.parse(ev.data) const data = JSON.parse(ev.data)
// console.log('data', data) console.log('data', data)
window.requestAnimationFrame(() => { chatResponse.updateFromAsyncResponse(data) }) window.requestAnimationFrame(() => { chatResponse.updateFromAsyncResponse(data) })
} }
} }
@ -378,7 +378,8 @@ export class ChatRequest {
return await _this.sendRequest(chat.messages, { return await _this.sendRequest(chat.messages, {
...opts, ...opts,
didSummary: true didSummary: true
}) },
overrides)
} }
} catch (e) { } catch (e) {
_this.updating = false _this.updating = false