mirror of
				https://github.com/amithkoujalgi/ollama4j.git
				synced 2025-10-31 16:40:41 +01:00 
			
		
		
		
	Merge pull request #21 from AgentSchmecker/main
Correction of Documentation for ask-async
This commit is contained in:
		| @@ -24,8 +24,8 @@ public class Main { | ||||
|         while (!callback.isComplete() || !callback.getStream().isEmpty()) { | ||||
|             // poll for data from the response stream | ||||
|             String result = callback.getStream().poll(); | ||||
|             if (response != null) { | ||||
|                 System.out.print(result.getResponse()); | ||||
|             if (result != null) { | ||||
|                 System.out.print(result); | ||||
|             } | ||||
|             Thread.sleep(100); | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Amith Koujalgi
					Amith Koujalgi