Module: Phronomy::LLMAdapter
- Defined in:
- lib/phronomy/llm_adapter.rb,
lib/phronomy/llm_adapter/base.rb,
lib/phronomy/llm_adapter/ruby_llm.rb
Overview
Namespace for LLM adapter implementations.
An LLMAdapter decouples Phronomy's agent pipeline from direct dependency on the RubyLLM blocking client. All LLM calls in Agent::Base are routed through the adapter so that:
- Synchronous provider work can be submitted to OffloadPool for bounded off-EventLoop execution.
- Alternative LLM clients can be swapped in without changing agent code.