Skip to content

Commit 607c6a5

Browse files
committed
fixing CI
1 parent 71e59e6 commit 607c6a5

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

tests/unit/llm/test_llm_integration.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
from stagehand.llm.client import LLMClient
88
from tests.mocks.mock_llm import MockLLMClient, MockLLMResponse
9+
from stagehand.logging import StagehandLogger
910

1011

1112
class TestLLMClientInitialization:
@@ -15,7 +16,8 @@ def test_llm_client_creation_with_openai(self):
1516
"""Test LLM client creation with OpenAI provider"""
1617
client = LLMClient(
1718
api_key="test-openai-key",
18-
default_model="gpt-4o"
19+
default_model="gpt-4o",
20+
stagehand_logger=StagehandLogger(),
1921
)
2022

2123
assert client.default_model == "gpt-4o"
@@ -25,7 +27,8 @@ def test_llm_client_creation_with_anthropic(self):
2527
"""Test LLM client creation with Anthropic provider"""
2628
client = LLMClient(
2729
api_key="test-anthropic-key",
28-
default_model="claude-3-sonnet"
30+
default_model="claude-3-sonnet",
31+
stagehand_logger=StagehandLogger(),
2932
)
3033

3134
assert client.default_model == "claude-3-sonnet"
@@ -35,7 +38,8 @@ def test_llm_client_with_custom_options(self):
3538
"""Test LLM client with custom configuration options"""
3639
client = LLMClient(
3740
api_key="test-key",
38-
default_model="gpt-4o-mini"
41+
default_model="gpt-4o-mini",
42+
stagehand_logger=StagehandLogger(),
3943
)
4044

4145
assert client.default_model == "gpt-4o-mini"

0 commit comments

Comments
 (0)