Class: SmartPrompt::MockAdapter

Inherits:
LLMAdapter show all
Defined in:
lib/smart_prompt/llm_adapter.rb

Instance Method Summary collapse

Methods inherited from LLMAdapter

#initialize

Constructor Details

This class inherits a constructor from SmartPrompt::LLMAdapter

Instance Method Details

#send_request(messages) ⇒ Object



91
92
93
94
# File 'lib/smart_prompt/llm_adapter.rb', line 91

def send_request(messages)
  puts "Mock adapter received #{messages.length} messages"
  "This is a mock response from the LLM adapter."
end