Exception: RubyLLM::SemanticRouter::InvalidAgentError

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

Overview

Raised when agent definition is incomplete

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ InvalidAgentError

Returns a new instance of InvalidAgentError.



54
55
56
# File 'lib/rubyllm/semantic_router/errors.rb', line 54

def initialize(message)
  super("Invalid agent definition: #{message}")
end