Skip to content

Commit

Permalink
fix: pass session object directly to OllamaProvider
Browse files Browse the repository at this point in the history
Co-Authored-By: Alex Reibman <[email protected]>
  • Loading branch information
devin-ai-integration[bot] and areibman committed Dec 19, 2024
1 parent b7c67ed commit 2999d2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/test_ollama.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ async def async_line_generator():
self.mock_client.post = mock_post

# Initialize provider with mock client
self.provider = OllamaProvider(http_client=self.mock_client, client=self.session.client, model="llama2")
self.provider = OllamaProvider(http_client=self.mock_client, client=self.session, model="llama2")

@pytest.mark.asyncio
async def teardown_method(self, method):
Expand Down

0 comments on commit 2999d2f

Please sign in to comment.