Class: Assistant::StepExecutorAgent

Inherits:
RubyLLM::Agent
  • Object
show all
Defined in:
app/agents/assistant/step_executor_agent.rb

Overview

Isolated RubyLLM::Agent for executing a single step of a declared multi-step plan.
Each invocation uses a fresh RubyLLM::Chat (no accumulated conversation history).

Model and provider are passed at runtime via +Assistant::StepExecutorAgent.new(model:, provider:, ...)+
so steps use the same model as the parent Sunny conversation.

See Also:

  • PlanOrchestrator#run_plan_step_executor