Keep source, config, and deploy files. Leave runtime data, uploads, and logs out of git. Co-authored-by: Cursor <cursoragent@cursor.com>
57 lines
1.9 KiB
Bash
57 lines
1.9 KiB
Bash
# App root is this folder (next to liara.json). Liara env vars override these.
|
|
KAMIDSO_ENV=development
|
|
MONGODB_URI=mongodb://127.0.0.1:27017/kamidso
|
|
KAMIDSO_DEFAULT_LOCALE=fa-IR
|
|
KAMIDSO_DEVELOPER_MODE=true
|
|
KAMIDSO_JWT_SECRET=change-me-dev-only
|
|
KAMIDSO_ADMIN_EMAIL=admin@kamidso.local
|
|
KAMIDSO_ADMIN_PASSWORD=kamidso-admin
|
|
KAMIDSO_STORAGE_PATH=./data
|
|
KAMIDSO_ENGINE_CONFIG=configs/dbgpt-proxy-openai.toml
|
|
|
|
KAMIDSO_FEATURE_REPORTS=false
|
|
KAMIDSO_FEATURE_RADAR=false
|
|
KAMIDSO_FEATURE_DASHBOARDS=false
|
|
KAMIDSO_FEATURE_WIDGETS=false
|
|
KAMIDSO_FEATURE_SCHEDULED_TASKS=false
|
|
KAMIDSO_FEATURE_ONTOLOGY=true
|
|
|
|
# DB-GPT ReAct memory: GptsMemory + in-process short-term buffer (no step embeddings).
|
|
KAMIDSO_USE_NATIVE_DBGPT_MEMORY=1
|
|
KAMIDSO_USE_NATIVE_DBGPT_PROMPT=1
|
|
|
|
# Skill lifecycle: native DB-GPT discovery/load, then Kamidso product extensions.
|
|
KAMIDSO_USE_NATIVE_DBGPT_SKILLS=0
|
|
KAMIDSO_ENABLE_SKILL_EXTENSIONS=0
|
|
KAMIDSO_ENFORCE_SKILL_MIN_REASONING=0
|
|
|
|
DBGPT_LANG=fa
|
|
DBGPT_CORS_ALLOWED_ORIGINS=http://localhost:5173,http://127.0.0.1:5173
|
|
|
|
# Production only. Leave empty locally. Points LLM calls at the egress gateway.
|
|
OPENROUTER_PROXY_URL=
|
|
# Production only. Replaces the dev encrypt_key when KAMIDSO_ENV=production.
|
|
ENGINE_ENCRYPT_KEY=
|
|
|
|
OPENAI_API_KEY=
|
|
OPENAI_API_BASE=https://openrouter.ai/api/v1
|
|
LLM_MODEL_NAME=
|
|
LLM_MODEL_PROVIDER=proxy/openai
|
|
LLM_REASONING_ENABLED=false
|
|
# If the model socket stays silent this many seconds, retry the same request.
|
|
LLM_STREAM_IDLE_TIMEOUT=60
|
|
LLM_STREAM_STALL_RETRIES=2
|
|
EMBEDDING_MODEL_NAME=openai/text-embedding-3-small
|
|
EMBEDDING_MODEL_PROVIDER=proxy/openai
|
|
EMBEDDING_MODEL_API_URL=https://openrouter.ai/api/v1/embeddings
|
|
|
|
# Query attached databases from code_interpreter (credentials stay in the parent).
|
|
KAMIDSO_DATABASE_RUNTIME_V1=1
|
|
KAMIDSO_EXPOSE_LEGACY_SQL_QUERY=0
|
|
# Seconds to wait while opening an attached database during a code_interpreter query.
|
|
KAMIDSO_DB_CONNECT_TIMEOUT=30
|
|
|
|
KAVENEGAR_API_KEY=
|
|
KAVENEGAR_OTP_TEMPLATE=sendotpkamidso
|
|
OTP_MOCK_ENABLED=true
|