From 215b2050cc761c16a2f8ba0a57d4ccb9997125e7 Mon Sep 17 00:00:00 2001 From: Thorsten Sommer Date: Thu, 13 Nov 2025 17:19:34 +0100 Subject: [PATCH] Updated documentation --- .../Plugins/configuration/plugin.lua | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/app/MindWork AI Studio/Plugins/configuration/plugin.lua b/app/MindWork AI Studio/Plugins/configuration/plugin.lua index cff866f7..77921f38 100644 --- a/app/MindWork AI Studio/Plugins/configuration/plugin.lua +++ b/app/MindWork AI Studio/Plugins/configuration/plugin.lua @@ -47,15 +47,24 @@ DEPRECATION_MESSAGE = "" CONFIG = {} CONFIG["LLM_PROVIDERS"] = {} --- An example of a configuration for a self-hosted ollama server: +-- An example of a configuration for a self-hosted server: CONFIG["LLM_PROVIDERS"][#CONFIG["LLM_PROVIDERS"]+1] = { ["Id"] = "00000000-0000-0000-0000-000000000000", ["InstanceName"] = "", ["UsedLLMProvider"] = "SELF_HOSTED", + + -- Allowed values for Host are: LM_STUDIO, LLAMACPP, OLLAMA, and VLLM ["Host"] = "OLLAMA", - ["Hostname"] = "", + ["Hostname"] = "", + + -- Optional: Additional parameters for the API. + -- Please refer to the documentation of the selected host for details. + -- Might be something like ... \"temperature\": 0.5 ... for one parameter. + -- Could be something like ... \"temperature\": 0.5, \"max_tokens\": 1000 ... for multiple parameters. + -- Please do not add the enclosing curly braces {} here. Also, no trailing comma is allowed. + ["AdditionalJsonApiParameters"] = "", ["Model"] = { - ["Id"] = "", + ["Id"] = "", ["DisplayName"] = "", } }