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
@@ -18,6 +18,13 @@ python3 -m doctest fake_host.py fake_llm.py
|
||||
python3 demo.py path/to/hermes path/to/socat # ends with PASS
|
||||
```
|
||||
|
||||
With a model and a proxy command, a real model drives it, through [llm-proxy.py](llm-proxy.py) as deployed. For example, with an [Inference Cooperative](https://docs.inference.coop/guides/api-access/) key:
|
||||
|
||||
```sh
|
||||
python3 demo.py path/to/hermes path/to/socat deepseek-flash-tee \
|
||||
python3 ../llm-proxy.py https://gateway.inference.coop/v1 path/to/key
|
||||
```
|
||||
|
||||
The demo leaves Hermes's detached helpers running; look for them with `pgrep -fl hermes_cli`. After a change to `nix/`, evaluate both platforms:
|
||||
|
||||
```sh
|
||||
|
||||
Reference in new issue
Block a user