chore: initialize repo
This commit is contained in:
64
.env.example
Normal file
64
.env.example
Normal file
@@ -0,0 +1,64 @@
|
|||||||
|
# Odoo
|
||||||
|
ODOO_URL=https://ai.activeblue.net
|
||||||
|
ODOO_DB=ai
|
||||||
|
ODOO_SERVICE_USER=activeblue.ai.bot@internal
|
||||||
|
ODOO_SERVICE_PASSWORD=
|
||||||
|
ODOO_API_KEY=
|
||||||
|
|
||||||
|
# Ollama (local — default)
|
||||||
|
OLLAMA_URL=http://192.168.2.47:11434
|
||||||
|
OLLAMA_MODEL=llama3.1:8b
|
||||||
|
OLLAMA_TIMEOUT=120
|
||||||
|
OLLAMA_MAX_CONCURRENT=2
|
||||||
|
|
||||||
|
# Claude API (cloud)
|
||||||
|
ANTHROPIC_API_KEY=
|
||||||
|
CLAUDE_MODEL=claude-sonnet-4-20250514
|
||||||
|
CLAUDE_TIMEOUT=60
|
||||||
|
CLAUDE_MAX_CONCURRENT=5
|
||||||
|
|
||||||
|
# Per-agent backend overrides (optional — only used in hybrid mode)
|
||||||
|
# Format: AGENT_BACKEND_<UPPER_AGENT_KEY>=ollama|claude
|
||||||
|
AGENT_BACKEND_MASTER=ollama
|
||||||
|
AGENT_BACKEND_FINANCE=ollama
|
||||||
|
AGENT_BACKEND_ACCOUNTING=ollama
|
||||||
|
AGENT_BACKEND_CRM=ollama
|
||||||
|
AGENT_BACKEND_SALES=ollama
|
||||||
|
AGENT_BACKEND_PROJECT=ollama
|
||||||
|
AGENT_BACKEND_ELEARNING=ollama
|
||||||
|
AGENT_BACKEND_EXPENSES=ollama
|
||||||
|
AGENT_BACKEND_EMPLOYEES=ollama
|
||||||
|
|
||||||
|
# Agent service
|
||||||
|
AGENT_SERVICE_PORT=8001
|
||||||
|
ODOO_CALLBACK_URL=https://ai.activeblue.net/activeblue_ai/result
|
||||||
|
AGENT_API_KEY=
|
||||||
|
|
||||||
|
# Security
|
||||||
|
WEBHOOK_SECRET=
|
||||||
|
ALLOWED_CALLBACK_IP=192.168.2.47
|
||||||
|
|
||||||
|
# Postgres
|
||||||
|
POSTGRES_HOST=
|
||||||
|
POSTGRES_PORT=5432
|
||||||
|
POSTGRES_DB=ai
|
||||||
|
POSTGRES_USER=
|
||||||
|
POSTGRES_PASSWORD=
|
||||||
|
POSTGRES_POOL_MIN=2
|
||||||
|
POSTGRES_POOL_MAX=10
|
||||||
|
|
||||||
|
# Logging
|
||||||
|
LOG_LEVEL=INFO
|
||||||
|
LOG_FORMAT=json
|
||||||
|
LOKI_URL=http://192.168.2.47:3100/loki/api/v1/push
|
||||||
|
|
||||||
|
# LLM Privacy Mode: local | hybrid | cloud
|
||||||
|
LLM_PRIVACY_MODE=local
|
||||||
|
|
||||||
|
# Rate limiting
|
||||||
|
DISPATCH_RATE_LIMIT_PER_USER=10
|
||||||
|
DISPATCH_RATE_WINDOW_SECONDS=60
|
||||||
|
|
||||||
|
# Feature flags
|
||||||
|
ACCESS_CONTROL_ENABLED=true
|
||||||
|
DIRECTIVE_TIMEOUT_MINUTES=10
|
||||||
31
.gitignore
vendored
Normal file
31
.gitignore
vendored
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
__pycache__/
|
||||||
|
*.pyc
|
||||||
|
*.pyo
|
||||||
|
.Python
|
||||||
|
*.egg-info/
|
||||||
|
dist/
|
||||||
|
build/
|
||||||
|
.venv/
|
||||||
|
venv/
|
||||||
|
env/
|
||||||
|
|
||||||
|
# Secrets — NEVER commit
|
||||||
|
.env
|
||||||
|
*.env
|
||||||
|
.env.*
|
||||||
|
!.env.example
|
||||||
|
|
||||||
|
# Data
|
||||||
|
odoo-ai-data/
|
||||||
|
*.log
|
||||||
|
logs/
|
||||||
|
|
||||||
|
# IDE
|
||||||
|
.vscode/
|
||||||
|
.idea/
|
||||||
|
*.swp
|
||||||
|
*.swo
|
||||||
|
|
||||||
|
# OS
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
Reference in New Issue
Block a user