Basicly refactord the entire project into a modular nature

This commit is contained in:
2025-02-20 23:28:24 +01:00
parent 6935e938a3
commit b892306c09
26 changed files with 340 additions and 145 deletions

View File

@@ -0,0 +1,12 @@
package me.zacharias.chat.api;
public enum APIEndpoints {
// API request endpoints
ADD_TOOL,
QUERY,
// API response endpoints
RESPONSE,
USE_TOOL,
}

View File

@@ -0,0 +1,13 @@
package me.zacharias.chat.api;
import java.net.ServerSocket;
import java.util.ArrayList;
public class APIServer {
ArrayList<Client> clientsList = new ArrayList<>();
ServerSocket serverSocket;
public APIServer(int port, String redirectedOutput) {
}
}

View File

@@ -0,0 +1,4 @@
package me.zacharias.chat.api;
public class Client {
}