Single-shot (!ask) and conversational (!chat) LLM commands backed by OpenRouter's API. Per-user history (20 msg cap), 5s cooldown, reasoning model fallback, and model switching via subcommands. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
507 B
YAML
22 lines
507 B
YAML
services:
|
|
derp:
|
|
build:
|
|
context: .
|
|
dockerfile: Containerfile
|
|
container_name: derp
|
|
network_mode: host
|
|
restart: unless-stopped
|
|
logging:
|
|
driver: k8s-file
|
|
options:
|
|
max_size: 10mb
|
|
volumes:
|
|
- ./src:/app/src:ro,Z
|
|
- ./plugins:/app/plugins:ro,Z
|
|
- ./config/derp.toml:/app/config/derp.toml:ro,Z
|
|
- ./data:/app/data:Z
|
|
- ./secrets:/app/secrets:ro,Z
|
|
environment:
|
|
- OPENROUTER_API_KEY
|
|
command: ["--verbose", "--cprofile"]
|