Add overrides on summary continue
This commit is contained in:
		
							parent
							
								
									7512d67ab6
								
							
						
					
					
						commit
						4353a8c184
					
				| 
						 | 
					@ -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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue