File tree Expand file tree Collapse file tree 3 files changed +31
-9
lines changed
src/main/java/org/myrobotlab/service Expand file tree Collapse file tree 3 files changed +31
-9
lines changed Original file line number Diff line number Diff line change 589589 <artifactId >ollama4j</artifactId >
590590 <version >1.0.79</version >
591591 <scope >provided</scope >
592+ <exclusions >
593+ <exclusion >
594+ <groupId >org.slf4j</groupId >
595+ <artifactId >slf4j-api</artifactId >
596+ </exclusion >
597+ <exclusion >
598+ <groupId >log4j</groupId >
599+ <artifactId >log4j</artifactId >
600+ </exclusion >
601+ <exclusion >
602+ <groupId >org.slf4j</groupId >
603+ <artifactId >slf4j-log4j12</artifactId >
604+ </exclusion >
605+ </exclusions >
592606 </dependency >
593607 <!-- LLM end -->
594608
21132127 <system >github</system >
21142128 <url >https://github.com/MyRobotLab/myrobotlab/issues</url >
21152129 </issueManagement >
2116- </project >
2130+ </project >
Original file line number Diff line number Diff line change @@ -556,6 +556,17 @@ public static void main(String[] args) {
556556
557557 Response response = null ;
558558 LLM llm = (LLM ) Runtime .start ("llm" , "LLM" );
559+
560+ WebGui webgui = (WebGui ) Runtime .create ("webgui" , "WebGui" );
561+ webgui .autoStartBrowser (false );
562+ webgui .startService ();
563+
564+ boolean done = true ;
565+ if (done ) {
566+ return ;
567+ }
568+
569+
559570 LLM imagellm = (LLM ) Runtime .start ("imagellm" , "LLM" );
560571
561572 llm .config .url = "http://192.168.0.24:11434/v1/chat/completions" ;
@@ -566,14 +577,6 @@ public static void main(String[] args) {
566577 System .out .println (response .msg );
567578 }
568579
569- WebGui webgui = (WebGui ) Runtime .create ("webgui" , "WebGui" );
570- webgui .autoStartBrowser (false );
571- webgui .startService ();
572-
573- boolean done = true ;
574- if (done ) {
575- return ;
576- }
577580
578581 OpenCV cv = (OpenCV ) Runtime .start ("cv" , "OpenCV" );
579582 cv .capture ();
Original file line number Diff line number Diff line change @@ -20,6 +20,11 @@ public LLMMeta() {
2020
2121 addDependency ("io.github.ollama4j" , "ollama4j" , "1.0.79" );
2222
23+ exclude ("org.slf4j" , "slf4j-api" );
24+ exclude ("log4j" , "log4j" );
25+ exclude ("org.slf4j" , "slf4j-log4j12" );
26+
27+
2328 // add it to one or many categories
2429 addCategory ("AI" );
2530
You can’t perform that action at this time.
0 commit comments