Making sure that Core.RPCP and plugin.tool.Tool.RPCP_SOURCE have the same
Updated Display to wait for Ollama to return before continuing Updated GeniusTools.java to reflect correctly after "The Great Refector" Temporarly comented out things from API after making Ollama be more threaded pending correction and expantion
This commit is contained in:
@@ -28,7 +28,7 @@ public class Message {
|
||||
}
|
||||
Thread t = new Thread(() -> {
|
||||
apiApplication.getCore().getOllamaObject().addMessage(new OllamaMessage(OllamaMessageRole.USER, query));
|
||||
apiApplication.getCore().handleResponse(apiApplication.getCore().qurryOllama());
|
||||
//apiApplication.getCore().handleResponse(apiApplication.getCore().qurryOllama());
|
||||
});
|
||||
t.start();
|
||||
return ResponseEntity.ok("Query received");
|
||||
|
||||
Reference in New Issue
Block a user