feat: the Inference Cooperative as the example upstream, and a live demo

- services.hermes-guest.reasoningEffort (and mkDarwin's): DeepSeek V4.1
  takes only low, high, xhigh or max, and rejects Hermes's default.
- The README's examples use gateway.inference.coop and
  deepseek-flash-tee, its TEE-hosted DeepSeek, which supports tool
  calling.
- demo.py takes an optional MODEL and PROXY command: each connection to
  Hermes's model port is handed to PROXY as its stdin, as launchd and
  systemd hand them to llm-proxy.py, and only the outcome is checked.

Generated-by: Claude Opus 5.5
This commit is contained in:
dckc committed 2026-11-29 16:58:56 -06:00
1 parent d58b77aa89
commit cfffe56cce
5 files changed
+68 -14

No files matched your search

+9
View File
@@ -80,6 +80,12 @@ in
type = lib.types.str;
description = "The model name, as the proxy's upstream knows it.";
};
reasoningEffort = lib.mkOption {
type = lib.types.nullOr lib.types.str;
default = null;
example = "low";
description = "Hermes's agent.reasoning_effort, for models that take only some levels (DeepSeek V4.1: low, high, xhigh, max).";
};
};
config = lib.mkIf cfg.enable {
@@ -98,6 +104,9 @@ in
# the guest's methods are its whole world: offer them to the model
# directly, not behind tool_search/tool_call
tools.tool_search.enabled = "off";
}
// lib.optionalAttrs (cfg.reasoningEffort != null) {
agent.reasoning_effort = cfg.reasoningEffort;
};
mcpServers.host = {
command = "${pkgs.socat}/bin/socat";