Class: OpenAI::Models::Beta::AgentSessionItem::ComputerUseCall
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::AgentSessionItem::ComputerUseCall
- Defined in:
- lib/openai/models/beta/agent_session_item.rb,
sig/openai/models/beta/agent_session_item.rbs
Defined Under Namespace
Classes: Output
Instance Attribute Summary collapse
-
#id ⇒ String
The ID of the activity item.
-
#output ⇒ OpenAI::Beta::AgentSessionItem::ComputerUseCall::Output?
The last screenshot emitted by the model.
-
#status ⇒ OpenAI::Models::Beta::agent_function_call_status
The execution status of the activity.
-
#title ⇒ String?
A model-generated description of the activity, when available.
-
#turn_id ⇒ String
The ID of the turn that contains this item.
-
#type ⇒ :computer_use_call
The item type.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
- #initialize(id:, output:, status:, title:, turn_id:, type: :computer_use_call) ⇒ Object constructor
- #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, fields, hash, #hash, inherited, #inspect, inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, coerce_with_error, dump, #dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id:, output:, status:, title:, turn_id:, type: :computer_use_call) ⇒ Object
|
|
# File 'lib/openai/models/beta/agent_session_item.rb', line 231
|
Instance Attribute Details
#id ⇒ String
The ID of the activity item.
198 |
# File 'lib/openai/models/beta/agent_session_item.rb', line 198 required :id, String |
#output ⇒ OpenAI::Beta::AgentSessionItem::ComputerUseCall::Output?
The last screenshot emitted by the model. Null when screenshot inclusion is disabled or the call emitted no screenshot.
205 |
# File 'lib/openai/models/beta/agent_session_item.rb', line 205 required :output, -> { OpenAI::Beta::AgentSessionItem::ComputerUseCall::Output }, nil?: true |
#status ⇒ OpenAI::Models::Beta::agent_function_call_status
The execution status of the activity.
211 |
# File 'lib/openai/models/beta/agent_session_item.rb', line 211 required :status, enum: -> { OpenAI::Beta::AgentFunctionCallStatus } |
#title ⇒ String?
A model-generated description of the activity, when available.
217 |
# File 'lib/openai/models/beta/agent_session_item.rb', line 217 required :title, String, nil?: true |
#turn_id ⇒ String
The ID of the turn that contains this item.
223 |
# File 'lib/openai/models/beta/agent_session_item.rb', line 223 required :turn_id, String |
#type ⇒ :computer_use_call
The item type. Always computer_use_call.
229 |
# File 'lib/openai/models/beta/agent_session_item.rb', line 229 required :type, const: :computer_use_call |
Instance Method Details
#to_hash ⇒ {
206 |
# File 'sig/openai/models/beta/agent_session_item.rbs', line 206 def to_hash: -> { |