b1aa35e1b1
build / build (push) Has been cancelled
- GradleAPI - Launcher - MALAPITool Started finishing up the File handeling module in Core - Added ReadFileTool.java which allowes to read files from this contained "file system" modulized dependency for the API Updated for Launcher.java to use class and method refrence to entry point to remove hard dependency Added a @SafeVarargs to OllamaObject.java made OllamaObject.OllamaObjectBuilder#addFileTools not throw IllegalArgumentException and instead add the tooling and return the builder Added overloaded constructor OllamaToolErrorException#OllamaToolErrorException(String, Exception) to allow for forwarding of exceptions, although this is not recomended PythonRunner - Fixed bugs with it under Linux host(this MUST be refractord to support Windows and Mac hosts) - Added a overwrite for default python print method to send prints over the external_tools socket to be put into output log for the runner - Cleaned up some stuff - Updated to properly refer to files - Fixed cmd.sh generation - Removed old "-c" addition to the command - Removed old code related to how logs pulled from containers standerd output's - Updated the generation of external_tools.py to respect pythons requirment of optinal arguments being after all required Updated Tool#addTool to respect the standerd of spring boot's return model
MAL API wrapper
Important notes
Scope
This wrapper is not fully implemented, some endpoints are missing, as well as no user-specific endpoints are added.
Rate limits
I'm yet to enforce the rate limit, due to in there the Ollama backend won't be fast enough, but this is subject to change
API Key Required
You must provide your own API key
Store the key in ${DATE_DIR}/malapi.json using the following format:
{
"client_id": "<client_id>",
"client_secret": "<client_secret>"// This is for the moment not used but shuld till be added
}