forked from neurodock/NeuroDock
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:
@@ -5,6 +5,7 @@ import me.neurodock.core.Pair;
|
||||
import me.neurodock.core.PrintMessageHandler;
|
||||
import me.neurodock.core.files.FileHandlerLocation;
|
||||
import me.neurodock.core.memory.CoreMemory;
|
||||
import me.neurodock.genius.GeniusTools;
|
||||
import me.neurodock.ollama.*;
|
||||
import me.neurodock.ollama.utils.SystemMessage;
|
||||
import org.json.JSONObject;
|
||||
@@ -169,7 +170,7 @@ public class Display {
|
||||
writeLog("User: " + message);
|
||||
core.getOllamaObject().addMessage(new OllamaMessage(OllamaMessageRole.USER, message.toString()));
|
||||
//System.out.println(ollamaObject.toString());
|
||||
core.qurryOllama().thenAccept(core::handleResponse);
|
||||
core.qurryOllama().thenAccept(core::handleResponse).join();
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user