Files
hermes-agent/tests/run_agent
salch-cred 7ea6a7a446 test(agent): split GLM cloud/local stop-continuation cases
The existing test used model='glm-5.1:cloud' which now returns False from
_is_ollama_glm_backend() — the :cloud guard introduced in the fix.

- Rename the existing test to use 'glm-4-9b' (local GLM, no :cloud suffix):
  the 3-call continuation path is still exercised for local backends.
- Add test_ollama_glm_cloud_stop_after_tools_does_not_request_continuation:
  model='glm-5.1:cloud' at :11434 — asserts stop is honoured at face value
  (2 API calls, no synthetic continuation nudge).

Resolves the conflicting regression noted in #98415 review.
2026-09-01 23:27:10 -07:00
..