Class: Zavudev::Models::AgentTestParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Zavudev::Models::AgentTestParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/zavudev/models/agent_test_params.rb,
sig/zavudev/models/agent_test_params.rbs
Overview
Defined Under Namespace
Classes: History
Instance Attribute Summary collapse
- #agent_id ⇒ String
-
#execute_tools ⇒ Boolean?
Run the tools the agent calls instead of reporting the choice and stopping.
-
#history ⇒ Array<Zavudev::Models::AgentTestParams::History>?
Prior turns, oldest first, to exercise multi-turn behaviour without persisting a thread.
-
#message ⇒ String
What to say to the agent.
-
#use_knowledge_base ⇒ Boolean?
Set false to skip retrieval and isolate prompt behaviour from the knowledge base.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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
35 |
# File 'sig/zavudev/models/agent_test_params.rbs', line 35
def initialize: (
|
Instance Attribute Details
#agent_id ⇒ String
13 |
# File 'lib/zavudev/models/agent_test_params.rb', line 13 required :agent_id, String |
#execute_tools ⇒ Boolean?
Run the tools the agent calls instead of reporting the choice and stopping.
Off by default because a tool handler talks to the outside world: a rehearsal
that charges a card is not a rehearsal. Turn it on to exercise the loop that
actually matters — the model picks a tool, the handler answers, the model
replies with the result — without sending a message to anyone. What ran comes
back in executedToolCalls.
31 |
# File 'lib/zavudev/models/agent_test_params.rb', line 31 optional :execute_tools, Zavudev::Internal::Type::Boolean, api_name: :executeTools |
#history ⇒ Array<Zavudev::Models::AgentTestParams::History>?
Prior turns, oldest first, to exercise multi-turn behaviour without persisting a thread. Trimmed to the agent's context window.
38 |
# File 'lib/zavudev/models/agent_test_params.rb', line 38 optional :history, -> { Zavudev::Internal::Type::ArrayOf[Zavudev::AgentTestParams::History] } |
#message ⇒ String
What to say to the agent.
19 |
# File 'lib/zavudev/models/agent_test_params.rb', line 19 required :message, String |
#use_knowledge_base ⇒ Boolean?
Set false to skip retrieval and isolate prompt behaviour from the knowledge base.
45 |
# File 'lib/zavudev/models/agent_test_params.rb', line 45 optional :use_knowledge_base, Zavudev::Internal::Type::Boolean, api_name: :useKnowledgeBase |
Instance Method Details
#to_hash ⇒ {
44 |
# File 'sig/zavudev/models/agent_test_params.rbs', line 44
def to_hash: -> {
|