Class: Agents::UnhandleableRequestAgent

Inherits:
Agent
  • Object
show all
Defined in:
lib/agents/unhandleable_request_agent.rb

Constant Summary

Constants inherited from Agent

Agent::DEFAULT_SYSTEM_PROMPT

Instance Attribute Summary

Attributes inherited from Agent

#actions, #children, #description, #gpt_client, #name, #system_prompt

Instance Method Summary collapse

Methods inherited from Agent

#build_prompt, #delegate_request, #initialize

Constructor Details

This class inherits a constructor from Agents::Agent

Instance Method Details

#handle(request:) ⇒ Object



3
4
5
# File 'lib/agents/unhandleable_request_agent.rb', line 3

def handle(request:)
  return UnhandleableRequestResponse.new(request: request)
end