Class: Stagehand::Models::SessionExecuteResponse::Data
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stagehand::Models::SessionExecuteResponse::Data
- Defined in:
- lib/stagehand/models/session_execute_response.rb
Overview
Defined Under Namespace
Classes: CacheEntry, Result
Instance Attribute Summary collapse
- #cache_entry ⇒ Stagehand::Models::SessionExecuteResponse::Data::CacheEntry?
- #result ⇒ Stagehand::Models::SessionExecuteResponse::Data::Result
Instance Method Summary collapse
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, 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, #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(inference_time_ms:, input_tokens:, output_tokens:, cached_input_tokens: nil, reasoning_tokens: nil) ⇒ Object
|
|
# File 'lib/stagehand/models/session_execute_response.rb', line 39
|
Instance Attribute Details
#cache_entry ⇒ Stagehand::Models::SessionExecuteResponse::Data::CacheEntry?
35 36 37 |
# File 'lib/stagehand/models/session_execute_response.rb', line 35 optional :cache_entry, -> { Stagehand::Models::SessionExecuteResponse::Data::CacheEntry }, api_name: :cacheEntry |
#result ⇒ Stagehand::Models::SessionExecuteResponse::Data::Result
30 |
# File 'lib/stagehand/models/session_execute_response.rb', line 30 required :result, -> { Stagehand::Models::SessionExecuteResponse::Data::Result } |