Add Ollama and CONTEXT_ROOT config to erp-integration app

This commit is contained in:
2026-03-26 15:21:06 +00:00
parent 68da19bafe
commit d3dd39ceeb
3 changed files with 71 additions and 20 deletions

View File

@@ -58,19 +58,36 @@
},
{
"type": "text",
"label": "MCP API Base URL",
"hint": "Base URL for the MCP API server",
"label": "Ollama Base URL",
"hint": "Local Ollama API endpoint (e.g. http://192.168.0.32:11434/v1). Leave empty to use Anthropic.",
"required": false,
"default": "http://localhost:2009",
"env_variable": "MCP_API_BASE_URL"
"default": "",
"env_variable": "OLLAMA_BASE_URL"
},
{
"type": "text",
"label": "SharePoint Base URL",
"hint": "SharePoint/OneDrive URL for Integration Planning documents",
"label": "Ollama Model",
"hint": "Ollama model name (e.g. gpt-oss:20b)",
"required": false,
"default": "https://minicircuits-my.sharepoint.com/personal/alex_zaw_minicircuits_com1/_layouts/15/onedrive.aspx?id=%2Fpersonal%2Falex%5Fzaw%5Fminicircuits%5Fcom1%2FDocuments%2FIntegration%20Planning%2F",
"env_variable": "SHAREPOINT_BASE_URL"
"default": "gpt-oss:20b",
"env_variable": "OLLAMA_MODEL"
},
{
"type": "password",
"label": "Ollama API Key",
"hint": "API key for authenticated Ollama proxy access (X-Api-Key header)",
"required": false,
"env_variable": "OLLAMA_API_KEY",
"min": 0,
"max": 200
},
{
"type": "text",
"label": "Context Root",
"hint": "Optional URL prefix for all routes (e.g. /everest). Leave empty for no prefix.",
"required": false,
"default": "",
"env_variable": "CONTEXT_ROOT"
}
]
}