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:
briandevans
2026-05-18 13:47:32 -07:00
parent 403e567cec
commit 9433eabe78
+1 -1
View File
@@ -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