Switching out toString returing a string JSON to toJSON that returns a JSONObject instead... and toString is not ment for this purpose
This commit is contained in:
@@ -5,7 +5,6 @@ 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;
|
||||
@@ -153,8 +152,8 @@ public class Display {
|
||||
writeLog("Tools installed in this instance acording to the coire OllamaObject");
|
||||
|
||||
for(Pair<OllamaTool, String> funtion : core.getOllamaObject().getTools()) {
|
||||
System.out.println("> Function: " + funtion.getKey().toString());
|
||||
writeLog("Function: " + funtion.getKey().toString());
|
||||
System.out.println("> Function: " + funtion.getKey().toJSON());
|
||||
writeLog("Function: " + funtion.getKey().toJSON());
|
||||
}
|
||||
break;
|
||||
case "working":
|
||||
|
||||
Reference in New Issue
Block a user