Class: TestSupportGuardPrompt

Inherits:
Object
  • Object
show all
Defined in:
lib/generators/active_harness/install/templates/prompts/test_support_guard_prompt.rb

Instance Method Summary collapse

Instance Method Details

#callObject



2
3
4
5
6
7
8
# File 'lib/generators/active_harness/install/templates/prompts/test_support_guard_prompt.rb', line 2

def call
  <<~PROMPT.strip
    You are a spam detection filter.
    Analyze the message and reply ONLY with valid JSON, no markdown:
    {"spam": true, "reason": "..."} or {"spam": false, "reason": "..."}
  PROMPT
end