feat(hermes): extend agent tool budget
Some checks failed
Tests / Declarative: Post Actions failed: 2, passed: 171
Some checks failed
Tests / Declarative: Post Actions failed: 2, passed: 171
This commit is contained in:
parent
320927bd3f
commit
f4099319bb
@ -27,6 +27,9 @@ data:
|
||||
|
||||
agent:
|
||||
api_max_retries: 1
|
||||
# The coordinator supervises long-running Herdr workers; give it enough
|
||||
# room to inspect, steer, review, and synthesize without truncating.
|
||||
max_turns: 180
|
||||
reasoning_effort: medium
|
||||
|
||||
toolsets:
|
||||
|
||||
@ -24,7 +24,7 @@ spec:
|
||||
ai.bstein.dev/execution: Herdr-supervised Codex and Claude Code
|
||||
ai.bstein.dev/model-policy: Jetson-assisted AUTO routing, low through xhigh, cross-provider fallback
|
||||
ai.bstein.dev/placement: rpi5 preferred; Jetson deferred until state storage is available
|
||||
ai.bstein.dev/config-rev: "20260809-route-outcomes"
|
||||
ai.bstein.dev/config-rev: "20260809-agent-tool-budget"
|
||||
vault.hashicorp.com/agent-inject: "true"
|
||||
vault.hashicorp.com/role: hermes-agent
|
||||
vault.hashicorp.com/agent-inject-secret-anthropic-token: kv/data/atlas/hermes/agent-tokens
|
||||
|
||||
@ -226,3 +226,11 @@ def test_agent_mounts_auto_router_into_both_hermes_runtimes():
|
||||
item for item in pod["volumes"] if item["name"] == "auto-router-plugin"
|
||||
)
|
||||
assert volume["configMap"]["name"] == "hermes-auto-router-plugin"
|
||||
|
||||
|
||||
def test_agent_coordinator_has_a_long_running_tool_budget():
|
||||
configmap = yaml.safe_load((HERMES / "agent-configmap.yaml").read_text())
|
||||
config = yaml.safe_load(configmap["data"]["config.yaml"])
|
||||
|
||||
assert config["agent"]["max_turns"] == 180
|
||||
assert config["tool_loop_guardrails"]["hard_stop_enabled"] is True
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user