fix(llm): call on_complete() function at callback (#952)
This commit is contained in:
		
							parent
							
								
									0d62ffd1cb
								
							
						
					
					
						commit
						9f3793b579
					
				@ -250,6 +250,7 @@ M._stream = function(opts)
 | 
				
			|||||||
          parse_response_without_stream(result.body)
 | 
					          parse_response_without_stream(result.body)
 | 
				
			||||||
        end)
 | 
					        end)
 | 
				
			||||||
      end
 | 
					      end
 | 
				
			||||||
 | 
					      opts.on_complete(nil)
 | 
				
			||||||
    end,
 | 
					    end,
 | 
				
			||||||
  })
 | 
					  })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user