Slight chages

Display
> Set both tools to INTERNAL

GetMemoryFunction
> Made so it gives a JSON

PythonRunner
> Fixed some value checkes
This commit is contained in:
2025-03-14 20:01:38 +01:00
parent 907f2e42e5
commit 01de196d82
3 changed files with 99 additions and 20 deletions
@@ -41,14 +41,17 @@ public class Display {
{
core.setOllamaObject(OllamaObject.builder()
.setModel("llama3-AI")
.setModel("llama3.2")
//.setModel("deepseek-r1")
.keep_alive(10)
//.stream(false)
.build());
core.addTool(new TimeTool(), Core.Source.EXTERNAL);
core.addTool(new TimeTool(), Core.Source.INTERNAL);
core.addTool(new PythonRunner(core), Core.Source.INTERNAL);
//core.getOllamaObject().addMessage(new OllamaMessage(OllamaMessageRole.SYSTEM, "Have a nice tone and use formal wording"));
writeLog("Creating base OllamaObject with model: "+core.getOllamaObject().getModel());
System.out.println("Installed tools");