Class: RubyLLM::ModeAgent

Inherits:
Agent
  • Object
show all
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.

Method Summary

Methods included from RubyLLM::Modes::Mode

derive_name, description, instructions, mode_name