Class: Cadenya::Models::Agents::AgentVariationSpecConstraints
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::Agents::AgentVariationSpecConstraints
- Defined in:
- lib/cadenya/models/agents/agent_variation_spec_constraints.rb,
sig/cadenya/models/agents/agent_variation_spec_constraints.rbs
Instance Attribute Summary collapse
-
#inactivity_timeout ⇒ String?
How long an objective may sit with no activity (no user messages, no LLM calls) before it is finalized as timed out.
-
#max_sub_objectives ⇒ Integer?
The maximum number of sub-objectives that can be created.
-
#max_tool_calls ⇒ Integer?
The maximum number of tool calls that can be made.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #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 ⇒ Object
26 |
# File 'sig/cadenya/models/agents/agent_variation_spec_constraints.rbs', line 26
def initialize: (
|
Instance Attribute Details
#inactivity_timeout ⇒ String?
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, expressed as a duration string in seconds (e.g. "7200s"). When not set, objectives are still swept at the system-wide 24 hour maximum — every objective eventually reaches a terminal state.
Note: no gnostic integer hint here on purpose. The Envoy gRPC-JSON transcoder
only accepts the canonical protobuf JSON form for Durations — a "
20 |
# File 'lib/cadenya/models/agents/agent_variation_spec_constraints.rb', line 20 optional :inactivity_timeout, String, api_name: :inactivityTimeout |
#max_sub_objectives ⇒ Integer?
The maximum number of sub-objectives that can be created. 0 means no limit.
26 |
# File 'lib/cadenya/models/agents/agent_variation_spec_constraints.rb', line 26 optional :max_sub_objectives, Integer, api_name: :maxSubObjectives |
#max_tool_calls ⇒ Integer?
The maximum number of tool calls that can be made. 0 means no limit.
32 |
# File 'lib/cadenya/models/agents/agent_variation_spec_constraints.rb', line 32 optional :max_tool_calls, Integer, api_name: :maxToolCalls |
Instance Method Details
#to_hash ⇒ {
32 |
# File 'sig/cadenya/models/agents/agent_variation_spec_constraints.rbs', line 32
def to_hash: -> {
|