Class: OpenAI::Models::Beta::Agents::AutomationAgentConfig
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::Agents::AutomationAgentConfig
- Defined in:
- lib/openai/models/beta/agents/automation_agent_config.rb,
sig/openai/models/beta/agents/automation_agent_config.rbs
Defined Under Namespace
Modules: ServiceTier Classes: Compaction, Experimental
Instance Attribute Summary collapse
-
#compaction ⇒ OpenAI::Beta::Agents::AutomationAgentConfig::Compaction?
The effective context compaction settings.
-
#experimental ⇒ OpenAI::Beta::Agents::AutomationAgentConfig::Experimental?
The effective experimental settings for the agent.
-
#instructions ⇒ String?
Custom instructions, or null when absent.
-
#model ⇒ String
The requested model name.
-
#multi_agent ⇒ OpenAI::Beta::MultiAgentConfig
The configuration for creating and coordinating subagents.
-
#reasoning ⇒ OpenAI::Beta::AgentReasoning
The configured reasoning policy.
-
#service_tier ⇒ OpenAI::Models::Beta::Agents::AutomationAgentConfig::service_tier
The configured service-tier policy.
-
#text ⇒ OpenAI::Beta::AgentText
The configured output format and verbosity.
-
#tools ⇒ ::Array[OpenAI::Models::Beta::agent_tool]
Configured tools, excluding confidential credentials.
Attributes inherited from Internal::Type::BaseModel
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(async:) ⇒ AutomationAgentConfig
constructor
A new instance of AutomationAgentConfig.
- #to_hash ⇒ { instructions: String?, model: String, multi_agent: OpenAI::Beta::MultiAgentConfig, reasoning: OpenAI::Beta::AgentReasoning, service_tier: OpenAI::Models::Beta::Agents::AutomationAgentConfig::service_tier, text: OpenAI::Beta::AgentText, tools: ::Array[OpenAI::Models::Beta::agent_tool], ?compaction: OpenAI::Beta::Agents::AutomationAgentConfig::Compaction, ?experimental: OpenAI::Beta::Agents::AutomationAgentConfig::Experimental }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, 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, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, 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(async:) ⇒ AutomationAgentConfig
Returns a new instance of AutomationAgentConfig.
|
|
# File 'lib/openai/models/beta/agents/automation_agent_config.rb', line 62
|
Instance Attribute Details
#compaction ⇒ OpenAI::Beta::Agents::AutomationAgentConfig::Compaction?
The effective context compaction settings.
54 |
# File 'lib/openai/models/beta/agents/automation_agent_config.rb', line 54 optional :compaction, -> { OpenAI::Beta::Agents::AutomationAgentConfig::Compaction } |
#experimental ⇒ OpenAI::Beta::Agents::AutomationAgentConfig::Experimental?
The effective experimental settings for the agent.
60 |
# File 'lib/openai/models/beta/agents/automation_agent_config.rb', line 60 optional :experimental, -> { OpenAI::Beta::Agents::AutomationAgentConfig::Experimental } |
#instructions ⇒ String?
Custom instructions, or null when absent.
12 |
# File 'lib/openai/models/beta/agents/automation_agent_config.rb', line 12 required :instructions, String, nil?: true |
#model ⇒ String
The requested model name.
18 |
# File 'lib/openai/models/beta/agents/automation_agent_config.rb', line 18 required :model, String |
#multi_agent ⇒ OpenAI::Beta::MultiAgentConfig
The configuration for creating and coordinating subagents.
24 |
# File 'lib/openai/models/beta/agents/automation_agent_config.rb', line 24 required :multi_agent, -> { OpenAI::Beta::MultiAgentConfig } |
#reasoning ⇒ OpenAI::Beta::AgentReasoning
The configured reasoning policy.
30 |
# File 'lib/openai/models/beta/agents/automation_agent_config.rb', line 30 required :reasoning, -> { OpenAI::Beta::AgentReasoning } |
#service_tier ⇒ OpenAI::Models::Beta::Agents::AutomationAgentConfig::service_tier
The configured service-tier policy.
36 |
# File 'lib/openai/models/beta/agents/automation_agent_config.rb', line 36 required :service_tier, enum: -> { OpenAI::Beta::Agents::AutomationAgentConfig::ServiceTier } |
#text ⇒ OpenAI::Beta::AgentText
The configured output format and verbosity.
42 |
# File 'lib/openai/models/beta/agents/automation_agent_config.rb', line 42 required :text, -> { OpenAI::Beta::AgentText } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openai/models/beta/agents/automation_agent_config.rb', line 105
|
Instance Method Details
#to_hash ⇒ { instructions: String?, model: String, multi_agent: OpenAI::Beta::MultiAgentConfig, reasoning: OpenAI::Beta::AgentReasoning, service_tier: OpenAI::Models::Beta::Agents::AutomationAgentConfig::service_tier, text: OpenAI::Beta::AgentText, tools: ::Array[OpenAI::Models::Beta::agent_tool], ?compaction: OpenAI::Beta::Agents::AutomationAgentConfig::Compaction, ?experimental: OpenAI::Beta::Agents::AutomationAgentConfig::Experimental }
86 87 88 89 90 91 92 93 94 95 96 |
# File 'sig/openai/models/beta/agents/automation_agent_config.rbs', line 86
def to_hash: -> {
instructions: String?,
model: String,
multi_agent: OpenAI::Beta::MultiAgentConfig,
reasoning: OpenAI::Beta::AgentReasoning,
service_tier: OpenAI::Models::Beta::Agents::AutomationAgentConfig::service_tier,
text: OpenAI::Beta::AgentText,
tools: ::Array[OpenAI::Models::Beta::agent_tool],
?compaction: OpenAI::Beta::Agents::AutomationAgentConfig::Compaction,
?experimental: OpenAI::Beta::Agents::AutomationAgentConfig::Experimental
}
|