Candil.Backend implementation for OpenAI-compatible HTTP APIs.
Used by:
provider: :openai(api.openai.com)provider: :anthropic(api.anthropic.com — note Anthropic uses a slightly different request body, but the OpenAI-compat SSE streaming format works for both via themessagesarray)provider: :ollama(Ollama's/v1/chat/completionsendpoint)provider: :azure(Azure OpenAI Service)
Auth tokens and base URLs come from Candil.Config per provider.
This module is auto-registered for those providers on first lookup.