chore: apply pre-commit auto-fixes (trim trailing whitespace, EOF)
This commit is contained in:
@@ -185,9 +185,7 @@ class TestCompleteHappyPath:
|
||||
|
||||
class TestCompleteErrors:
|
||||
def test_timeout_wrapped(self, client):
|
||||
with patch(
|
||||
"alfred.agent.llm.ollama.requests.post", side_effect=Timeout("t")
|
||||
):
|
||||
with patch("alfred.agent.llm.ollama.requests.post", side_effect=Timeout("t")):
|
||||
with pytest.raises(LLMAPIError, match="timeout"):
|
||||
client.complete([{"role": "user", "content": "q"}])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user