Module: Stagehand::Models::SessionExecuteParams::AgentConfig::Mode

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

Overview

Tool mode for the agent (dom, hybrid, cua). If set, overrides cua.

See Also:

  • Stagehand::Models::SessionExecuteParams::AgentConfig#mode

Constant Summary collapse

DOM =

Returns:

  • (:dom)
:dom
HYBRID =

Returns:

  • (:hybrid)
:hybrid
CUA =

Returns:

  • (:cua)
:cua

Instance Method Summary collapse

Methods included from Internal::Type::Enum

==, ===, coerce, dump, hash, inspect, to_sorbet_type, values, values

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

#self?.values ⇒ ::Array[Stagehand::Models::SessionExecuteParams::AgentConfig::mode]

Returns:

  • (::Array[Stagehand::Models::SessionExecuteParams::AgentConfig::mode])


457
# File 'sig/stagehand/models/session_execute_params.rbs', line 457

def self?.values: -> ::Array[Stagehand::Models::SessionExecuteParams::AgentConfig::mode]