Class: Yorishiro::Skill::Prompt

Inherits:
Struct
  • Object
show all
Defined in:
lib/yorishiro/skill.rb

Overview

Returned from #execute to inject a prompt into the LLM instead of just printing output. The CLI feeds text to the model as a user message and runs the agent/plan loop. Build one with the #prompt helper.

Instance Attribute Summary collapse

Instance Attribute Details

#textObject

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



8
9
10
# File 'lib/yorishiro/skill.rb', line 8

def text
  @text
end