Class: Anthropic::Models::Beta::BetaManagedAgentsModelConfig
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaManagedAgentsModelConfig
- Defined in:
- lib/anthropic/models/beta/beta_managed_agents_model_config.rb,
sig/anthropic/models/beta/beta_managed_agents_model_config.rbs
Defined Under Namespace
Instance Attribute Summary collapse
-
#effort ⇒ Anthropic::Models::Beta::BetaManagedAgentsEffortLow, ...
How hard Claude works on each turn.
-
#id ⇒ Symbol, ...
The model that will power your agent.
-
#speed ⇒ Symbol, ...
Inference speed mode.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(id:, effort: nil, speed: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see BetaManagedAgentsModelConfig for more details.
- #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(id:, effort: nil, speed: nil) ⇒ Object
Some parameter documentations has been truncated, see Anthropic::Models::Beta::BetaManagedAgentsModelConfig for more details.
Model identifier and configuration.
|
|
# File 'lib/anthropic/models/beta/beta_managed_agents_model_config.rb', line 31
|
Instance Attribute Details
#effort ⇒ Anthropic::Models::Beta::BetaManagedAgentsEffortLow, ...
How hard Claude works on each turn. Sets output_config.effort on every
Messages call the session makes.
21 |
# File 'lib/anthropic/models/beta/beta_managed_agents_model_config.rb', line 21 optional :effort, union: -> { Anthropic::Beta::BetaManagedAgentsModelConfig::Effort } |
#id ⇒ Symbol, ...
The model that will power your agent.
See models for additional details and options.
14 |
# File 'lib/anthropic/models/beta/beta_managed_agents_model_config.rb', line 14 required :id, union: -> { Anthropic::Beta::BetaManagedAgentsModel } |
#speed ⇒ Symbol, ...
Inference speed mode. fast provides significantly faster output token
generation at premium pricing. Not all models support fast; invalid
combinations are rejected at create time.
29 |
# File 'lib/anthropic/models/beta/beta_managed_agents_model_config.rb', line 29 optional :speed, enum: -> { Anthropic::Beta::BetaManagedAgentsModelConfig::Speed } |
Class Method Details
.variants ⇒ Array(Anthropic::Models::Beta::BetaManagedAgentsEffortLow, Anthropic::Models::Beta::BetaManagedAgentsEffortMedium, Anthropic::Models::Beta::BetaManagedAgentsEffortHigh, Anthropic::Models::Beta::BetaManagedAgentsEffortXhigh, Anthropic::Models::Beta::BetaManagedAgentsEffortMax)
|
|
# File 'lib/anthropic/models/beta/beta_managed_agents_model_config.rb', line 67
|
Instance Method Details
#to_hash ⇒ {
34 |
# File 'sig/anthropic/models/beta/beta_managed_agents_model_config.rbs', line 34
def to_hash: -> {
|