Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/stagehand/types/model_config_param.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

from __future__ import annotations

from typing import Dict

from typing_extensions import Literal, Required, Annotated, TypedDict

from .._utils import PropertyInfo
Expand All @@ -19,5 +21,8 @@ class ModelConfigParam(TypedDict, total=False):
base_url: Annotated[str, PropertyInfo(alias="baseURL")]
"""Base URL for the model provider"""

headers: Dict[str, str]
"""Custom headers sent with every request to the model provider"""

provider: Literal["openai", "anthropic", "google", "microsoft"]
"""AI provider for the model (or provide a baseURL endpoint instead)"""
Loading