feat: add Traefik proxy, custom chat template, improve Cheshire Cat memory

docker-compose.yml:
- Add Traefik proxy network + labels for miku.panel domain
- Connect miku-bot service to proxy network

llama-swap-config.yaml / llama-swap-rocm-config.yaml:
- Add --chat-template-file flag to disable Llama 3.1 built-in tool
  calling (was causing malformed responses)
- ROCm config: add Rocinante-X 12B model entry for comparison testing

cheshire-cat discord_bridge plugin:
- Increase declarative memory recall (k=3→10, threshold 0.7→0.5)
  for better factual retrieval
- Add agent_prompt_prefix hook to enforce factual accuracy from
  declarative memories
- Add before_agent_starts debug logging for memory inspection
- Add passthrough hooks for message/suffix pipeline
This commit is contained in:
2026-03-04 00:48:58 +02:00
parent 335b58a867
commit eafab336b4
4 changed files with 100 additions and 2 deletions

View File

@@ -134,7 +134,15 @@ services:
networks:
- default # Stay on default for llama-swap + cheshire-cat communication
- miku-voice # Connect to voice network for RVC/TTS
- proxy # Traefik proxy network for miku.panel
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.miku.rule=Host(`miku.panel`)"
- "traefik.http.routers.miku.entrypoints=websecure"
- "traefik.http.routers.miku.tls=true"
- "traefik.http.services.miku.loadbalancer.server.port=3939"
- "traefik.docker.network=proxy"
# ========== Voice / STT ==========
miku-stt:
@@ -193,6 +201,9 @@ networks:
miku-voice:
external: true
name: miku-voice-network
proxy:
name: proxy
external: true
volumes:
stt-models: