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:
Zacharias committed 2026-07-19 22:05:09 +02:00
1 parent fc8a06bde5
commit 2defa32cb8
6 files changed
+8 -5

No files matched your search

@@ -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) {