forked from Mirror/ollama4j
Fixes recursive call in non streamed chat API
This commit is contained in:
parent
f38a00ebdc
commit
91aab6cbd1
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user