Skip to content

JiuwenSwarm is an intelligent AI Agent built on openJiuwen. It extends the powerful capabilities of large language models directly to your fingertips through various communication apps you use daily.

Python

update: tests%2Fsystem_tests%2Ftest_structured_ask_user.py

atomgit-bot4ef22748e63e
diff --git a/tests/system_tests/test_structured_ask_user.py b/tests/system_tests/test_structured_ask_user.py
index a7c0f4efe3..f15859de13 100644
--- a/tests/system_tests/test_structured_ask_user.py
+++ b/tests/system_tests/test_structured_ask_user.py
@@ -638,7 +638,7 @@ class TestStructuredAskUserRailResolveInterrupt:
from openjiuwen.harness.rails.interrupt.interrupt_base import RejectResult
assert isinstance(decision, RejectResult)
- assert "at most 4 questions" in decision.tool_result
+ assert f"at most {MAX_STRUCTURED_QUESTIONS} questions" in decision.tool_result
@staticmethod
@pytest.mark.parametrize(