feat: add Honcho memory provider with Traefik + Authelia #48

Open
Hermes wants to merge 43 commits from feat/honcho-only into master
6 changed files with 335 additions and 0 deletions
Showing only changes of commit bb53161b50 - Show all commits

View File

@@ -164,14 +164,16 @@ services:
# --- Honcho + OpenConcho combiné: API + Web UI nginx/FastAPI ---
honcho-ui:
build: ./honcho
container_name: honcho-ui
container_name: honcho
restart: unless-stopped
environment:
- DB_CONNECTION_URI=postgresql+psycopg://honcho:honcho_pass@honcho-db:5432/honcho
- CACHE_URL=redis://honcho-redis:6379/0
- CACHE_ENABLED=true
- EMBEDDING_VECTOR_DIMENSIONS=1536
- VECTOR_STORE_DIMENSIONS=1536
- AUTH_USE_AUTH=true
- AUTH_JWT_SECRET=${AUTH_JWT_SECRET}
- OPENAI_API_KEY=${OPENAI_API_KEY}
volumes:
- /mnt/HoardingCow_docker_data/Honcho/data:/app/data
networks:

View File

@@ -48,8 +48,8 @@ FLUSH_ENABLED = true
[deriver.model_config]
transport = "openai"
model = "hermes-3"
base_url = "http://ollama:11434/v1"
model = "deepseek-v4-flash"
base_url = "https://opencode.ai/zen/go/v1"
# --- Dialectic ---
[dialectic]
@@ -61,36 +61,36 @@ MAX_TOOL_ITERATIONS = 1
MAX_OUTPUT_TOKENS = 512
[dialectic.levels.minimal.model_config]
transport = "openai"
model = "hermes-3"
base_url = "http://ollama:11434/v1"
model = "deepseek-v4-flash"
base_url = "https://opencode.ai/zen/go/v1"
[dialectic.levels.low]
MAX_TOOL_ITERATIONS = 3
[dialectic.levels.low.model_config]
transport = "openai"
model = "hermes-3"
base_url = "http://ollama:11434/v1"
model = "deepseek-v4-flash"
base_url = "https://opencode.ai/zen/go/v1"
[dialectic.levels.medium]
MAX_TOOL_ITERATIONS = 2
[dialectic.levels.medium.model_config]
transport = "openai"
model = "hermes-3"
base_url = "http://ollama:11434/v1"
model = "deepseek-v4-flash"
base_url = "https://opencode.ai/zen/go/v1"
[dialectic.levels.high]
MAX_TOOL_ITERATIONS = 4
[dialectic.levels.high.model_config]
transport = "openai"
model = "hermes-3"
base_url = "http://ollama:11434/v1"
model = "deepseek-v4-flash"
base_url = "https://opencode.ai/zen/go/v1"
[dialectic.levels.max]
MAX_TOOL_ITERATIONS = 10
[dialectic.levels.max.model_config]
transport = "openai"
model = "hermes-3"
base_url = "http://ollama:11434/v1"
model = "deepseek-v4-flash"
base_url = "https://opencode.ai/zen/go/v1"
# --- Summary ---
[summary]
@@ -100,8 +100,8 @@ MESSAGES_PER_LONG_SUMMARY = 60
[summary.model_config]
transport = "openai"
model = "hermes-3"
base_url = "http://ollama:11434/v1"
model = "deepseek-v4-flash"
base_url = "https://opencode.ai/zen/go/v1"
# --- Dream ---
[dream]