test: update prompt assertion for sovereign identity (#127)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user