Class: Mneme::Tools::NothingToSurface
- Inherits:
-
Tools::Base
- Object
- Tools::Base
- Mneme::Tools::NothingToSurface
- Defined in:
- lib/mneme/tools/nothing_to_surface.rb
Overview
Finish-line tool for RecallRunner. The muse calls this when she’s done her work — whether she surfaced memories or decided nothing was worth carrying forward. Having a single finish line makes every recall run explicit: silence is intentional, not a timeout.
Mirror of EverythingOk for the eviction runner.
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Tools::Base
#initialize, prompt_guidelines, prompt_snippet, schema, truncation_threshold
Constructor Details
This class inherits a constructor from Tools::Base
Class Method Details
.description ⇒ Object
14 |
# File 'lib/mneme/tools/nothing_to_surface.rb', line 14 def self.description = "Finish the recall run. Call this when you're done — whether you surfaced memories or decided nothing was worth surfacing right now. Silence is a valid answer when older memory wouldn't help." |
.input_schema ⇒ Object
16 17 18 |
# File 'lib/mneme/tools/nothing_to_surface.rb', line 16 def self.input_schema {type: "object", properties: {}, required: []} end |
.tool_name ⇒ Object
12 |
# File 'lib/mneme/tools/nothing_to_surface.rb', line 12 def self.tool_name = "nothing_to_surface" |
Instance Method Details
#execute(_input) ⇒ Object
20 21 22 |
# File 'lib/mneme/tools/nothing_to_surface.rb', line 20 def execute(_input) "Acknowledged." end |