feat(mars): self-hosted Honcho memory server for luna
Honcho v3.2.2 (API + deriver containers) on loopback, with native Postgres/pgvector and Ollama embeddings. Not wired into Hermes yet; Mnemosyne stays her memory provider until the switch. - Peer auth over the Postgres socket: the containers run as the host's honcho uid, so there is no DB password. - Embeddings: qwen3-embedding:0.6b (1024 dims, fixed at first migration). The API runs configure_embeddings on start to resize Honcho's default vector(1536) schema. - LLMs via OpenRouter: glm-5.3-flash:nitro at minimal reasoning for the deriver and quick dialectic, deepseek-v4-pro for deep dialectic and dreams (which maintain the peer cards). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -98,4 +98,13 @@
|
||||
# markdown to disk. Also feeds the bridge's separate obfuscatePassphrase
|
||||
# field, since the plugin derives path obfuscation from the same value.
|
||||
sops.secrets.obsidian_luna_passphrase = { };
|
||||
|
||||
# Honcho (honcho.nix): OpenRouter key for its own LLM calls.
|
||||
sops.secrets.openrouter_api_key = { };
|
||||
sops.templates."honcho.env" = {
|
||||
content = ''
|
||||
LLM_OPENAI_API_KEY=${config.sops.placeholder.openrouter_api_key}
|
||||
'';
|
||||
restartUnits = [ "podman-honcho-api.service" "podman-honcho-deriver.service" ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user