class
LLM::AdapterFactory
- LLM::AdapterFactory
- Reference
- Object
Overview
Simple factory for creating adapters.
- If provider indicates Ollama (contains "ollama"), returns OllamaAdapter
- Otherwise returns GeneralAdapter
Note: This factory does not guess default URLs beyond provider tokens. Callers should pass proper values depending on their configuration.