Update apps/erp-integration/config.json

This commit is contained in:
2026-03-31 00:54:01 +00:00
parent d5e58923bc
commit 2b10b30d44

View File

@@ -11,8 +11,8 @@
], ],
"tipi_version": 1, "tipi_version": 1,
"version": "1.0.0", "version": "1.0.0",
"source": "https://gits.alexzaw.dev/alexz/ERP-Integration", "source": "https://git.alexzaw.dev/alexz/ERP-Integration",
"website": "https://gits.alexzaw.dev/alexz/ERP-Integration", "website": "https://git.alexzaw.dev/alexz/ERP-Integration",
"exposable": true, "exposable": true,
"dynamic_config": true, "dynamic_config": true,
"supported_architectures": [ "supported_architectures": [
@@ -21,47 +21,55 @@
], ],
"min_tipi_version": "4.0.0", "min_tipi_version": "4.0.0",
"created_at": 1742342400000, "created_at": 1742342400000,
"updated_at": 1742342400000, "updated_at": 1743292800000,
"form_fields": [ "form_fields": [
{
"type": "password",
"label": "Anthropic API Key",
"hint": "Your Anthropic API key for AI chat features",
"required": true,
"env_variable": "ANTHROPIC_API_KEY",
"min": 10,
"max": 200
},
{ {
"type": "text", "type": "text",
"label": "AI Model", "label": "Chat Agent Provider",
"hint": "Claude model to use for AI features", "hint": "Which AI provider to use: anthropic, ollama, or gemini",
"required": false, "required": true,
"default": "claude-opus-4-6", "default": "anthropic",
"env_variable": "ANTHROPIC_MODEL" "env_variable": "AGENT_PROVIDER"
}, },
{ {
"type": "boolean", "type": "boolean",
"label": "Enable AI Chat", "label": "Enable AI Chat",
"hint": "Enable the AI-powered agent chat feature", "hint": "Enable the AI-powered agent chat feature",
"required": false, "required": false,
"default": false, "default": true,
"env_variable": "AGENT_CHAT_ENABLED" "env_variable": "AGENT_CHAT_ENABLED"
}, },
{ {
"type": "text", "type": "password",
"label": "CORS Origin", "label": "Anthropic API Key",
"hint": "Allowed CORS origins", "hint": "Your Anthropic API key for AI chat features",
"required": false, "required": false,
"default": "*", "env_variable": "ANTHROPIC_API_KEY",
"env_variable": "CORS_ORIGIN" "min": 0,
"max": 200
},
{
"type": "text",
"label": "Anthropic Base URL",
"hint": "Anthropic API base URL",
"required": false,
"default": "https://api.anthropic.com",
"env_variable": "ANTHROPIC_BASE_URL"
},
{
"type": "text",
"label": "Anthropic Model",
"hint": "Claude model to use (e.g. claude-haiku-4-5, claude-sonnet-4-20250514)",
"required": false,
"default": "claude-haiku-4-5",
"env_variable": "ANTHROPIC_MODEL"
}, },
{ {
"type": "text", "type": "text",
"label": "Ollama Base URL", "label": "Ollama Base URL",
"hint": "Local Ollama API endpoint (e.g. http://192.168.0.32:11434/v1). Leave empty to use Anthropic.", "hint": "Local Ollama API endpoint (e.g. http://192.168.1.150:11434). Required if AGENT_PROVIDER=ollama.",
"required": false, "required": false,
"default": "", "default": "http://192.168.1.150:11434",
"env_variable": "OLLAMA_BASE_URL" "env_variable": "OLLAMA_BASE_URL"
}, },
{ {
@@ -75,20 +83,45 @@
{ {
"type": "password", "type": "password",
"label": "Ollama API Key", "label": "Ollama API Key",
"hint": "API key for authenticated Ollama proxy access (X-Api-Key header)", "hint": "API key for authenticated Ollama proxy access (X-Api-Key header). Leave empty if not required.",
"required": false, "required": false,
"env_variable": "OLLAMA_API_KEY", "env_variable": "OLLAMA_API_KEY",
"min": 0, "min": 0,
"max": 200 "max": 200
}, },
{
"type": "password",
"label": "Gemini API Key",
"hint": "Google Gemini API key. Required if AGENT_PROVIDER=gemini.",
"required": false,
"env_variable": "GEMINI_API_KEY",
"min": 0,
"max": 200
},
{
"type": "text",
"label": "Gemini Model",
"hint": "Gemini model to use (e.g. gemini-2.0-flash)",
"required": false,
"default": "gemini-2.0-flash",
"env_variable": "GEMINI_MODEL"
},
{ {
"type": "text", "type": "text",
"label": "Context Root", "label": "Context Root",
"hint": "Optional URL prefix for all routes (e.g. /everest). Leave empty for no prefix.", "hint": "Optional URL prefix for all routes (e.g. /everest). Leave empty for no prefix.",
"required": false, "required": false,
"default": "", "default": "/everest",
"env_variable": "CONTEXT_ROOT" "env_variable": "CONTEXT_ROOT"
}, },
{
"type": "text",
"label": "CORS Origin",
"hint": "Allowed CORS origins (* for all)",
"required": false,
"default": "*",
"env_variable": "CORS_ORIGIN"
},
{ {
"type": "password", "type": "password",
"label": "Proxy Auth Secret", "label": "Proxy Auth Secret",
@@ -99,4 +132,4 @@
"max": 200 "max": 200
} }
] ]
} }