Class: Cadenya::Models::Objectives::ObjectiveToolCallWithResult

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/cadenya/models/objectives/objective_tool_call_with_result.rb

Overview

Defined Under Namespace

Modules: ExecutionStatus, Status

Instance Attribute Summary collapse

Class Method Summary collapse

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(data:, execution_status:, info:, metadata:, status:, 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.

Parameters:



# File 'lib/cadenya/models/objectives/objective_tool_call_with_result.rb', line 49

Instance Attribute Details

#dataCadenya::Models::Objectives::ObjectiveToolCallData



11
# File 'lib/cadenya/models/objectives/objective_tool_call_with_result.rb', line 11

required :data, -> { Cadenya::Objectives::ObjectiveToolCallData }

#infoCadenya::Models::Objectives::ObjectiveToolCallInfo



16
# File 'lib/cadenya/models/objectives/objective_tool_call_with_result.rb', line 16

required :info, -> { Cadenya::Objectives::ObjectiveToolCallInfo }

#metadataCadenya::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 }

#statusSymbol, 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

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/cadenya/models/objectives/objective_tool_call_with_result.rb', line 78