Exception: RubyLLM::SemanticRouter::NoAgentsError

Inherits:
Error
  • Object
show all
Defined in:
lib/rubyllm/semantic_router/errors.rb

Overview

Raised when no agents are configured

Instance Method Summary collapse

Constructor Details

#initializeNoAgentsError

Returns a new instance of NoAgentsError.



24
25
26
# File 'lib/rubyllm/semantic_router/errors.rb', line 24

def initialize
  super("No agents configured. Add at least one agent to the router.")
end