Module: Stagehand::Models::SessionObserveParams::Options::Model

Extended by:
Internal::Type::Union
Defined in:
lib/stagehand/models/session_observe_params.rb

Overview

Model configuration object or model name string (e.g., ‘openai/gpt-5-nano’)

See Also:

Defined Under Namespace

Classes: GenericModelConfigObject, VertexModelConfigObject

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#initialize(location:, project:, base_url: nil, headers: nil) ⇒ Object

Vertex AI provider-specific settings

Parameters:

  • location (String)

    Google Cloud location for Vertex AI models

  • project (String)

    Google Cloud project ID for Vertex AI models

  • base_url (String) (defaults to: nil)

    Base URL for the Vertex AI provider

  • headers (Hash{Symbol=>String}) (defaults to: nil)

    Custom headers sent with every request to the Vertex AI provider



# File 'lib/stagehand/models/session_observe_params.rb', line 365