File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 2525from .config import StagehandConfig , default_config
2626from .context import StagehandContext
2727from .llm import LLMClient
28+ from .logging import StagehandLogger , default_log_handler
2829from .metrics import StagehandFunctionName , StagehandMetrics
2930from .page import StagehandPage
3031from .schemas import AgentConfig
31- from .utils import (
32- StagehandLogger ,
33- default_log_handler ,
34- make_serializable ,
35- )
32+ from .utils import make_serializable
3633
3734load_dotenv ()
3835
@@ -183,6 +180,7 @@ def __init__(
183180 self .llm = None
184181 if self .env == "LOCAL" :
185182 self .llm = LLMClient (
183+ stagehand_logger = self .logger ,
186184 api_key = self .model_api_key ,
187185 default_model = self .model_name ,
188186 metrics_callback = self ._handle_llm_metrics ,
You can’t perform that action at this time.
0 commit comments