Watch
0
0
Fork
You've already forked hyperhive
0

prettier the inference.md table

This commit is contained in:
damocles 2026-11-15 16:51:59 +01:00 • committed by mara
commit b19b730a3a

View file

@ -113,11 +113,11 @@ a stored value with no fields. A stored value the controller can't decode,
such as one a newer build wrote, also answers `"configured": null`, with a such as one a newer build wrote, also answers `"configured": null`, with a
warning in its log, until the next `PUT` replaces it. warning in its log, until the next `PUT` replaces it.
| method | path | body | | method | path | body |
| -------- | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | -------- | ------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `GET` | `/api/agents/<agent>/inference` | —; answers `{"configured": <the stored value, or null>, "effective": <what the agent reported, or null>}` | | `GET` | `/api/agents/<agent>/inference` | —; answers `{"configured": <the stored value, or null>, "effective": <what the agent reported, or null>}` |
| `PUT` | `/api/agents/<agent>/inference` | the whole value, replacing the stored one; the controller refuses unknown fields, an unknown effort, or a model name with whitespace or a leading `-`, a `max_subagents` above 32, or a `soft_context_percent` outside 5 to 100 | | `PUT` | `/api/agents/<agent>/inference` | the whole value, replacing the stored one; the controller refuses unknown fields, an unknown effort, or a model name with whitespace or a leading `-`, a `max_subagents` above 32, or a `soft_context_percent` outside 5 to 100 |
| `DELETE` | `/api/agents/<agent>/inference` | —; answers 204 | | `DELETE` | `/api/agents/<agent>/inference` | —; answers 204 |
An agent's own queue credential grants it An agent's own queue credential grants it
`$JS.API.DIRECT.GET.KV_agent-inference.$KV.agent-inference.<agent>`, the `$JS.API.DIRECT.GET.KV_agent-inference.$KV.agent-inference.<agent>`, the