Class: Cadenya::Models::Agents::AgentVariationSpecProgressiveDiscovery
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::Agents::AgentVariationSpecProgressiveDiscovery
- Defined in:
- lib/cadenya/models/agents/agent_variation_spec_progressive_discovery.rb,
sig/cadenya/models/agents/agent_variation_spec_progressive_discovery.rbs
Instance Attribute Summary collapse
-
#hints ⇒ Array<String>?
Free-text guidance appended to the discoverable-tools appendix in the system prompt.
-
#max_tools ⇒ Integer?
The most tool names tool_search will load in a single call.
Instance Method Summary collapse
-
#initialize ⇒ AgentVariationSpecProgressiveDiscovery
constructor
A new instance of AgentVariationSpecProgressiveDiscovery.
- #to_hash ⇒ { hints: ::Array[String], max_tools: Integer }
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 ⇒ AgentVariationSpecProgressiveDiscovery
Returns a new instance of AgentVariationSpecProgressiveDiscovery.
18 |
# File 'sig/cadenya/models/agents/agent_variation_spec_progressive_discovery.rbs', line 18
def initialize: (?hints: ::Array[String], ?max_tools: Integer) -> void
|
Instance Attribute Details
#hints ⇒ Array<String>?
Free-text guidance appended to the discoverable-tools appendix in the system prompt. Hints steer the model's choice of tool names; they do not filter or rank anything, because tool_search matches names exactly rather than searching.
13 |
# File 'lib/cadenya/models/agents/agent_variation_spec_progressive_discovery.rb', line 13 optional :hints, Cadenya::Internal::Type::ArrayOf[String] |
#max_tools ⇒ Integer?
The most tool names tool_search will load in a single call. Requesting more than this returns an error telling the model to retry in smaller batches -- it is a per-call batch limit, not a ceiling on how many tools an objective may end up with.
22 |
# File 'lib/cadenya/models/agents/agent_variation_spec_progressive_discovery.rb', line 22 optional :max_tools, Integer, api_name: :maxTools |
Instance Method Details
#to_hash ⇒ { hints: ::Array[String], max_tools: Integer }
20 |
# File 'sig/cadenya/models/agents/agent_variation_spec_progressive_discovery.rbs', line 20
def to_hash: -> { hints: ::Array[String], max_tools: Integer }
|