Defines a Backend interface with shared Message/Tool/ToolCall types. OllamaBackend wraps /api/chat; OpenAIBackend covers OpenAI, OpenRouter, and any compatible API. Factory reads OLLIE_BACKEND, OLLIE_API_URL, OLLIE_API_KEY. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| backend.go | ||
| new.go | ||
| ollama.go | ||
| openai.go | ||