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:
1 parent
d58b77aa89
commit
cfffe56cce
5 files changed
+68
-14
No files matched your search
@@ -26,11 +26,13 @@ macOS: [NixOS microVM (vfkit) ]
|
||||
imports = [ hermes-guest.nixosModules.linux-host ];
|
||||
services.hermes-guest = {
|
||||
enable = true;
|
||||
model = "anthropic/claude-sonnet-4";
|
||||
# the Inference Cooperative: https://docs.inference.coop/guides/api-access/
|
||||
model = "deepseek-flash-tee";
|
||||
reasoningEffort = "low"; # DeepSeek V4.1 takes low, high, xhigh or max
|
||||
hostSocketUnit = "endo-guest-hermes.socket";
|
||||
};
|
||||
services.hermes-llm-proxy = {
|
||||
upstream = "https://openrouter.ai/api/v1";
|
||||
upstream = "https://gateway.inference.coop/v1";
|
||||
keyFile = "/run/secrets/llm-key"; # a runtime path, not a nix path
|
||||
};
|
||||
```
|
||||
@@ -42,8 +44,9 @@ Building the VM needs a Linux builder (for example nix-darwin's `nix.linux-build
|
||||
```sh
|
||||
nix build --impure --expr '(builtins.getFlake (toString ./.)).lib.mkDarwin {
|
||||
hostDir = "/Users/me/.local/state/hermes-guest";
|
||||
model = "anthropic/claude-sonnet-4";
|
||||
upstream = "https://openrouter.ai/api/v1";
|
||||
model = "deepseek-flash-tee";
|
||||
reasoningEffort = "low";
|
||||
upstream = "https://gateway.inference.coop/v1";
|
||||
keyFile = "/Users/me/.config/hermes-guest/llm-key";
|
||||
}.host'
|
||||
mkdir -p ~/.local/state/hermes-guest
|
||||
|
||||
Reference in new issue
Block a user