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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user