Class: Cadenya::Models::Agents::AgentVariationSpecConstraints

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/cadenya/models/agents/agent_variation_spec_constraints.rb,
sig/cadenya/models/agents/agent_variation_spec_constraints.rbs

Instance Attribute 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

#initializeObject



26
# File 'sig/cadenya/models/agents/agent_variation_spec_constraints.rbs', line 26

def initialize: (

Instance Attribute Details

#inactivity_timeoutInteger?

How long an objective may sit with no activity (no user messages, no LLM calls) before it is finalized as timed out. Between 1 minute and 24 hours. When not set, objectives are still swept at the system-wide 24 hour maximum — every objective eventually reaches a terminal state.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


14
# File 'lib/cadenya/models/agents/agent_variation_spec_constraints.rb', line 14

optional :inactivity_timeout, Integer, api_name: :inactivityTimeout

#max_sub_objectivesInteger?

The maximum number of sub-objectives that can be created. 0 means no limit.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


20
# File 'lib/cadenya/models/agents/agent_variation_spec_constraints.rb', line 20

optional :max_sub_objectives, Integer, api_name: :maxSubObjectives

#max_tool_callsInteger?

The maximum number of tool calls that can be made. 0 means no limit.

Parameters:

  • (Integer)

Returns:

  • (Integer, nil)


26
# File 'lib/cadenya/models/agents/agent_variation_spec_constraints.rb', line 26

optional :max_tool_calls, Integer, api_name: :maxToolCalls

Instance Method Details

#to_hash{

Returns:

  • ({)


32
# File 'sig/cadenya/models/agents/agent_variation_spec_constraints.rbs', line 32

def to_hash: -> {