test: update prompt assertion for sovereign identity (#127)
Some checks failed
Tests / lint (pull_request) Successful in 3s
Tests / test (pull_request) Failing after 55s

This commit is contained in:
2026-03-15 09:42:03 -04:00
parent 47b0fb8a83
commit fd4d8be441

View File

@@ -115,9 +115,9 @@ async def test_system_prompt_selection():
assert prompt_with_tools is not None, "Prompt with tools should not be None"
assert prompt_without_tools is not None, "Prompt without tools should not be None"
# Both should identify as a local AI assistant
assert "local AI assistant" in prompt_with_tools, "Prompt should mention local AI assistant"
assert "local AI assistant" in prompt_without_tools, "Prompt should mention local AI assistant"
# Both should identify as running locally
assert "locally" in prompt_with_tools, "Prompt should mention running locally"
assert "locally" in prompt_without_tools, "Prompt should mention running locally"
# Full prompt should mention tools
assert "tool" in prompt_with_tools.lower(), "Full prompt should mention tools"