Module: Stagehand::Models::SessionExtractParams::Options::Model

Extended by:
Internal::Type::Union
Defined in:
lib/stagehand/models/session_extract_params.rb,
sig/stagehand/models/session_extract_params.rbs

Overview

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

See Also:

  • Stagehand::Models::SessionExtractParams::Options#model

Defined Under Namespace

Classes: GenericModelConfigObject, VertexModelConfigObject

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants, 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_extract_params.rb', line 371

#self?.variants ⇒ ::Array[Stagehand::Models::SessionExtractParams::Options::model]

Returns:

  • (::Array[Stagehand::Models::SessionExtractParams::Options::model])


438
# File 'sig/stagehand/models/session_extract_params.rbs', line 438

def self?.variants: -> ::Array[Stagehand::Models::SessionExtractParams::Options::model]