Skip to content

Commit 3855966

Browse files
committed
remove custom code
1 parent 86cb2c4 commit 3855966

File tree

2 files changed

+2
-11
lines changed

2 files changed

+2
-11
lines changed

src/stagehand/types/session_observe_params.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33
from __future__ import annotations
44

55
from typing import Dict, Union, Optional
6-
from typing_extensions import Literal, Required, Annotated, TypeAlias, TypedDict
6+
from typing_extensions import Literal, Required, Annotated, TypedDict
77

88
from .._utils import PropertyInfo
99
from .model_config_param import ModelConfigParam
1010

1111
__all__ = [
1212
"SessionObserveParamsBase",
1313
"Options",
14-
"OptionsModel",
1514
"OptionsVariables",
1615
"OptionsVariablesUnionMember3",
1716
"SessionObserveParamsNonStreaming",
@@ -31,10 +30,6 @@ class SessionObserveParamsBase(TypedDict, total=False):
3130
x_stream_response: Annotated[Literal["true", "false"], PropertyInfo(alias="x-stream-response")]
3231
"""Whether to stream the response via SSE"""
3332

34-
35-
OptionsModel: TypeAlias = Union[ModelConfigParam, str]
36-
37-
3833
class OptionsVariablesUnionMember3(TypedDict, total=False):
3934
value: Required[Union[str, float, bool]]
4035

src/stagehand/types/session_start_params.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,7 @@
2929

3030
class SessionStartParams(TypedDict, total=False):
3131
model_name: Required[Annotated[str, PropertyInfo(alias="modelName")]]
32-
"""Model name to use for AI operations.
33-
34-
Always use the format 'provider/model-name' (e.g., 'openai/gpt-4o',
35-
'anthropic/claude-sonnet-4-5-20250929', 'google/gemini-2.0-flash')
36-
"""
32+
"""Model name to use for AI operations"""
3733

3834
act_timeout_ms: Annotated[float, PropertyInfo(alias="actTimeoutMs")]
3935
"""Timeout in ms for act operations (deprecated, v2 only)"""

0 commit comments

Comments
 (0)