mirror of
				https://github.com/amithkoujalgi/ollama4j.git
				synced 2025-10-31 16:40:41 +01:00 
			
		
		
		
	Compare commits
	
		
			8 Commits
		
	
	
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|   | 5d3a975e4c | ||
|   | ad670c3c62 | ||
|   | 5e2a07ad41 | ||
|   | 9636807819 | ||
|   | 455251d1d4 | ||
|   | ec00ffae7f | ||
|   | d969c7ad46 | ||
|   | 02bf769188 | 
| @@ -24,8 +24,8 @@ public class Main { | |||||||
|         while (!callback.isComplete() || !callback.getStream().isEmpty()) { |         while (!callback.isComplete() || !callback.getStream().isEmpty()) { | ||||||
|             // poll for data from the response stream |             // poll for data from the response stream | ||||||
|             String result = callback.getStream().poll(); |             String result = callback.getStream().poll(); | ||||||
|             if (response != null) { |             if (result != null) { | ||||||
|                 System.out.print(result.getResponse()); |                 System.out.print(result); | ||||||
|             } |             } | ||||||
|             Thread.sleep(100); |             Thread.sleep(100); | ||||||
|         } |         } | ||||||
|   | |||||||
							
								
								
									
										4
									
								
								pom.xml
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								pom.xml
									
									
									
									
									
								
							| @@ -4,7 +4,7 @@ | |||||||
|  |  | ||||||
|     <groupId>io.github.amithkoujalgi</groupId> |     <groupId>io.github.amithkoujalgi</groupId> | ||||||
|     <artifactId>ollama4j</artifactId> |     <artifactId>ollama4j</artifactId> | ||||||
|     <version>1.0.47</version> |     <version>1.0.49</version> | ||||||
|  |  | ||||||
|     <name>Ollama4j</name> |     <name>Ollama4j</name> | ||||||
|     <description>Java library for interacting with Ollama API.</description> |     <description>Java library for interacting with Ollama API.</description> | ||||||
| @@ -39,7 +39,7 @@ | |||||||
|         <connection>scm:git:git@github.com:amithkoujalgi/ollama4j.git</connection> |         <connection>scm:git:git@github.com:amithkoujalgi/ollama4j.git</connection> | ||||||
|         <developerConnection>scm:git:https://github.com/amithkoujalgi/ollama4j.git</developerConnection> |         <developerConnection>scm:git:https://github.com/amithkoujalgi/ollama4j.git</developerConnection> | ||||||
|         <url>https://github.com/amithkoujalgi/ollama4j</url> |         <url>https://github.com/amithkoujalgi/ollama4j</url> | ||||||
|         <tag>v1.0.47</tag> |         <tag>v1.0.49</tag> | ||||||
|     </scm> |     </scm> | ||||||
|  |  | ||||||
|     <build> |     <build> | ||||||
|   | |||||||
| @@ -7,6 +7,7 @@ import lombok.Data; | |||||||
| public class Model { | public class Model { | ||||||
|  |  | ||||||
|   private String name; |   private String name; | ||||||
|  |   private String model; | ||||||
|   @JsonProperty("modified_at") |   @JsonProperty("modified_at") | ||||||
|   private String modifiedAt; |   private String modifiedAt; | ||||||
|   private String digest; |   private String digest; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user