Class: Cadenya::Models::Objectives::ObjectiveToolCallWithResult
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::Objectives::ObjectiveToolCallWithResult
- Defined in:
- lib/cadenya/models/objectives/objective_tool_call_with_result.rb,
sig/cadenya/models/objectives/objective_tool_call_with_result.rbs
Overview
Defined Under Namespace
Modules: ExecutionStatus, Status
Instance Attribute Summary collapse
- #data ⇒ Cadenya::Models::Objectives::ObjectiveToolCallData
-
#execution_status ⇒ Cadenya::Models::Objectives::ObjectiveToolCallWithResult::execution_status
Returns the value of attribute execution_status.
- #info ⇒ Cadenya::Models::Objectives::ObjectiveToolCallInfo
-
#metadata ⇒ Cadenya::Models::OperationMetadata
Metadata for ephemeral operations and activities (e.g., objectives, executions, runs).
-
#resolved_secrets ⇒ ::Array[Cadenya::Objectives::ResolvedSecret]?
readonly
Returns the value of attribute resolved_secrets.
-
#result ⇒ Cadenya::Objectives::ObjectiveToolCallResult?
readonly
Returns the value of attribute result.
-
#status ⇒ Symbol, Cadenya::Models::Objectives::ObjectiveToolCallWithResult::Status
Current status of the tool call.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(data:, execution_status:, info:, metadata:, status:, resolved_secrets: nil, result: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see ObjectiveToolCallWithResult for more details.
- #resolved_secrets ⇒ Object readonly
- #result ⇒ Object readonly
- #to_hash ⇒ {
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(data:, execution_status:, info:, metadata:, status:, resolved_secrets: nil, result: nil) ⇒ Object
Some parameter documentations has been truncated, see Cadenya::Models::Objectives::ObjectiveToolCallWithResult for more details.
ObjectiveToolCallWithResult is an ObjectiveToolCall plus the content the tool returned. Returned by GetObjectiveToolCall.
|
|
# File 'lib/cadenya/models/objectives/objective_tool_call_with_result.rb', line 57
|
Instance Attribute Details
#data ⇒ Cadenya::Models::Objectives::ObjectiveToolCallData
11 |
# File 'lib/cadenya/models/objectives/objective_tool_call_with_result.rb', line 11 required :data, -> { Cadenya::Objectives::ObjectiveToolCallData } |
#execution_status ⇒ Cadenya::Models::Objectives::ObjectiveToolCallWithResult::execution_status
Returns the value of attribute execution_status.
26 27 28 |
# File 'sig/cadenya/models/objectives/objective_tool_call_with_result.rbs', line 26 def execution_status @execution_status end |
#info ⇒ Cadenya::Models::Objectives::ObjectiveToolCallInfo
16 |
# File 'lib/cadenya/models/objectives/objective_tool_call_with_result.rb', line 16 required :info, -> { Cadenya::Objectives::ObjectiveToolCallInfo } |
#metadata ⇒ Cadenya::Models::OperationMetadata
Metadata for ephemeral operations and activities (e.g., objectives, executions, runs)
23 |
# File 'lib/cadenya/models/objectives/objective_tool_call_with_result.rb', line 23 required :metadata, -> { Cadenya::OperationMetadata } |
#resolved_secrets ⇒ ::Array[Cadenya::Objectives::ResolvedSecret]? (readonly)
Returns the value of attribute resolved_secrets.
28 29 30 |
# File 'sig/cadenya/models/objectives/objective_tool_call_with_result.rbs', line 28 def resolved_secrets @resolved_secrets end |
#result ⇒ Cadenya::Objectives::ObjectiveToolCallResult? (readonly)
Returns the value of attribute result.
34 35 36 |
# File 'sig/cadenya/models/objectives/objective_tool_call_with_result.rbs', line 34 def result @result end |
#status ⇒ Symbol, Cadenya::Models::Objectives::ObjectiveToolCallWithResult::Status
Current status of the tool call
29 |
# File 'lib/cadenya/models/objectives/objective_tool_call_with_result.rb', line 29 required :status, enum: -> { Cadenya::Objectives::ObjectiveToolCallWithResult::Status } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/cadenya/models/objectives/objective_tool_call_with_result.rb', line 88
|
Instance Method Details
#resolved_secrets= ⇒ Object (readonly)
30 |
# File 'sig/cadenya/models/objectives/objective_tool_call_with_result.rbs', line 30
def resolved_secrets=: (
|
#result= ⇒ Object (readonly)
36 |
# File 'sig/cadenya/models/objectives/objective_tool_call_with_result.rbs', line 36
def result=: (
|
#to_hash ⇒ {
50 |
# File 'sig/cadenya/models/objectives/objective_tool_call_with_result.rbs', line 50
def to_hash: -> {
|