This repository has been archived on 2026-08-16. You can view files and clone it, but cannot push or open issues or pull requests.
ollie-core/backend
Levi Neely 127f428620 Add backend package: common LLM interface for ollama and OpenAI-compatible APIs
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>
2026-03-31 22:40:42 +02:00
..
backend.go Add backend package: common LLM interface for ollama and OpenAI-compatible APIs 2026-03-31 22:40:42 +02:00
new.go Add backend package: common LLM interface for ollama and OpenAI-compatible APIs 2026-03-31 22:40:42 +02:00
ollama.go Add backend package: common LLM interface for ollama and OpenAI-compatible APIs 2026-03-31 22:40:42 +02:00
openai.go Add backend package: common LLM interface for ollama and OpenAI-compatible APIs 2026-03-31 22:40:42 +02:00