mirror of
				https://github.com/amithkoujalgi/ollama4j.git
				synced 2025-11-04 02:20:50 +01:00 
			
		
		
		
	Fixes recursive call in non streamed chat API
This commit is contained in:
		@@ -449,7 +449,7 @@ public class OllamaAPI {
 | 
			
		||||
  * @throws InterruptedException in case the server is not reachable or network issues happen
 | 
			
		||||
   */
 | 
			
		||||
  public OllamaChatResult chat(OllamaChatRequestModel request)  throws OllamaBaseException, IOException, InterruptedException{
 | 
			
		||||
    return chat(request);
 | 
			
		||||
    return chat(request,null);
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user