Update apps/erp-integration/config.json
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
],
|
||||
"tipi_version": 1,
|
||||
"version": "1.0.0",
|
||||
"source": "https://gits.alexzaw.dev/alexz/ERP-Integration",
|
||||
"website": "https://gits.alexzaw.dev/alexz/ERP-Integration",
|
||||
"source": "https://git.alexzaw.dev/alexz/ERP-Integration",
|
||||
"website": "https://git.alexzaw.dev/alexz/ERP-Integration",
|
||||
"exposable": true,
|
||||
"dynamic_config": true,
|
||||
"supported_architectures": [
|
||||
@@ -21,47 +21,55 @@
|
||||
],
|
||||
"min_tipi_version": "4.0.0",
|
||||
"created_at": 1742342400000,
|
||||
"updated_at": 1742342400000,
|
||||
"updated_at": 1743292800000,
|
||||
"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",
|
||||
"label": "AI Model",
|
||||
"hint": "Claude model to use for AI features",
|
||||
"required": false,
|
||||
"default": "claude-opus-4-6",
|
||||
"env_variable": "ANTHROPIC_MODEL"
|
||||
"label": "Chat Agent Provider",
|
||||
"hint": "Which AI provider to use: anthropic, ollama, or gemini",
|
||||
"required": true,
|
||||
"default": "anthropic",
|
||||
"env_variable": "AGENT_PROVIDER"
|
||||
},
|
||||
{
|
||||
"type": "boolean",
|
||||
"label": "Enable AI Chat",
|
||||
"hint": "Enable the AI-powered agent chat feature",
|
||||
"required": false,
|
||||
"default": false,
|
||||
"default": true,
|
||||
"env_variable": "AGENT_CHAT_ENABLED"
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"label": "CORS Origin",
|
||||
"hint": "Allowed CORS origins",
|
||||
"type": "password",
|
||||
"label": "Anthropic API Key",
|
||||
"hint": "Your Anthropic API key for AI chat features",
|
||||
"required": false,
|
||||
"default": "*",
|
||||
"env_variable": "CORS_ORIGIN"
|
||||
"env_variable": "ANTHROPIC_API_KEY",
|
||||
"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",
|
||||
"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,
|
||||
"default": "",
|
||||
"default": "http://192.168.1.150:11434",
|
||||
"env_variable": "OLLAMA_BASE_URL"
|
||||
},
|
||||
{
|
||||
@@ -75,20 +83,45 @@
|
||||
{
|
||||
"type": "password",
|
||||
"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,
|
||||
"env_variable": "OLLAMA_API_KEY",
|
||||
"min": 0,
|
||||
"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",
|
||||
"label": "Context Root",
|
||||
"hint": "Optional URL prefix for all routes (e.g. /everest). Leave empty for no prefix.",
|
||||
"required": false,
|
||||
"default": "",
|
||||
"default": "/everest",
|
||||
"env_variable": "CONTEXT_ROOT"
|
||||
},
|
||||
{
|
||||
"type": "text",
|
||||
"label": "CORS Origin",
|
||||
"hint": "Allowed CORS origins (* for all)",
|
||||
"required": false,
|
||||
"default": "*",
|
||||
"env_variable": "CORS_ORIGIN"
|
||||
},
|
||||
{
|
||||
"type": "password",
|
||||
"label": "Proxy Auth Secret",
|
||||
|
||||
Reference in New Issue
Block a user