Skip to content

Commit 5ace8c9

Browse files
feat: Add bedrock to provider enum in Zod schemas and OpenAPI spec
1 parent a30258c commit 5ace8c9

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 8
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-87b4d9e349de9d33d5d89439f7ac9507133700a9f072fdf0d756471961768d2c.yml
3-
openapi_spec_hash: 0f6ae6d10a0227a3482914728cf901ba
4-
config_hash: 7baf2daccae5913216bb74c52d63eaff
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/browserbase%2Fstagehand-a4e672f457dd99336f4b2a113fd7c7c6c9db0941b38d57cff6e3641549a6c4ed.yml
3+
openapi_spec_hash: eae9c8561e420db8e4d238c1e59617fb
4+
config_hash: 2a565ad6662259a2e90fa5f1f5095525

src/stagehand/types/model_config_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ class ModelConfigParam(TypedDict, total=False):
1919
base_url: Annotated[str, PropertyInfo(alias="baseURL")]
2020
"""Base URL for the model provider"""
2121

22-
provider: Literal["openai", "anthropic", "google", "microsoft"]
22+
provider: Literal["openai", "anthropic", "google", "microsoft", "bedrock"]
2323
"""AI provider for the model (or provide a baseURL endpoint instead)"""

src/stagehand/types/session_execute_params.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class AgentConfig(TypedDict, total=False):
6262
'anthropic/claude-4.5-opus')
6363
"""
6464

65-
provider: Literal["openai", "anthropic", "google", "microsoft"]
65+
provider: Literal["openai", "anthropic", "google", "microsoft", "bedrock"]
6666
"""AI provider for the agent (legacy, use model: openai/gpt-5-nano instead)"""
6767

6868
system_prompt: Annotated[str, PropertyInfo(alias="systemPrompt")]

0 commit comments

Comments
 (0)