Module: OpenAI::Models::Beta::AgentSessionInputParam

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/beta/agent_session_input_param.rb,
sig/openai/models/beta/agent_session_input_param.rbs

Overview

Input submitted to an existing session.

Defined Under Namespace

Classes: AgentSessionInputCancel, AgentSessionInputComputerUseApprovalRequestResult, AgentSessionInputMcpApprovalRequestResult, AgentSessionInputMessage, AgentSessionInputToolResult

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variant_for_dump

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, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info

Class Method Details

.values ⇒ Array<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openai/models/beta/agent_session_input_param.rb', line 116

Instance Method Details

#initialize(type: :"agent.session.input.cancel") ⇒ Object

Cancels the session's active turn.

Parameters:

  • type (Symbol, :"agent.session.input.cancel") (defaults to: :"agent.session.input.cancel") —

    The type of the object. Always agent.session.input.cancel.



# File 'lib/openai/models/beta/agent_session_input_param.rb', line 192