mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-21 03:39:54 +00:00
test(agent): use realistic qwen-plus identifier in enforcement test
Copilot flagged that `qwen/qwen3.6-plus` is not a real Qwen model identifier (no such version exists). Substring matching only needs "qwen" so the test still proves the path, but using a name that matches the issue body (`qwen-plus`, Alibaba Cloud) is clearer.
This commit is contained in:
@@ -1106,7 +1106,7 @@ class TestToolUseEnforcementConfig:
|
||||
def test_auto_injects_for_qwen(self):
|
||||
"""Qwen models default to chatty/hallucinatory tool use without enforcement."""
|
||||
from agent.prompt_builder import TOOL_USE_ENFORCEMENT_GUIDANCE
|
||||
agent = self._make_agent(model="qwen/qwen3.6-plus", tool_use_enforcement="auto")
|
||||
agent = self._make_agent(model="qwen/qwen-plus", tool_use_enforcement="auto")
|
||||
prompt = agent._build_system_prompt()
|
||||
assert TOOL_USE_ENFORCEMENT_GUIDANCE in prompt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user