File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 26
26
from .metrics import StagehandFunctionName , StagehandMetrics
27
27
from .page import StagehandPage
28
28
from .schemas import AgentConfig
29
- from .utils import StagehandLogger , convert_dict_keys_to_camel_case , default_log_handler
29
+ from .utils import (
30
+ StagehandLogger ,
31
+ convert_dict_keys_to_camel_case ,
32
+ default_log_handler ,
33
+ make_serializable ,
34
+ )
30
35
31
36
load_dotenv ()
32
37
@@ -120,7 +125,7 @@ def __init__(
120
125
else wait_for_captcha_solves
121
126
)
122
127
self .system_prompt = config .system_prompt or system_prompt
123
- self .browserbase_session_create_params = (
128
+ self .browserbase_session_create_params = make_serializable (
124
129
config .browserbase_session_create_params
125
130
or browserbase_session_create_params
126
131
)
You can’t perform that action at this time.
0 commit comments