mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-07 07:22:21 +02:00
fix(agent): honor explicit no-web requests
This commit is contained in:
@@ -146,15 +146,8 @@ def test_negative_web_wording_withholds_the_web_tools(monkeypatch, phrasing):
|
||||
_assert_negative_web_turn(monkeypatch, phrasing)
|
||||
|
||||
|
||||
@pytest.mark.xfail(
|
||||
strict=True,
|
||||
raises=_MemoryOnlyTurnBlocked,
|
||||
reason="negative web wording is recognized but the memory-only turn is "
|
||||
"misclassified as web-dependent and blocked before the model call; "
|
||||
"production intent/short-circuit correction is outside test isolation",
|
||||
)
|
||||
@pytest.mark.parametrize("phrasing", BLOCKED_MEMORY_ONLY)
|
||||
def test_negative_web_wording_withholds_the_web_tools_unhandled(monkeypatch, phrasing):
|
||||
def test_negative_web_wording_withholds_the_web_tools_memory_only(monkeypatch, phrasing):
|
||||
_assert_negative_web_turn(monkeypatch, phrasing)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user