Class: RubyLLM::ModeAgent
- Inherits:
-
Agent
- Object
- Agent
- RubyLLM::ModeAgent
- Extended by:
- RubyLLM::Modes::Mode
- Defined in:
- lib/ruby_llm/mode_agent.rb
Overview
A RubyLLM::Agent that is routable: subclass it and declare a description. Its instructions append to the chat's system prompt and are not persisted (see Modes::Mode). Apps with their own agent base class extend RubyLLM::Modes::Mode into that base instead.