Collective memory for Ollama —
the more people use it, the faster it gets.
# Linux / macOS curl -fsSL https://dlocker.app/install.sh | sh # Windows (PowerShell) powershell -c "irm dlocker.app/install.ps1 | iex" # Transparent mode (recommended): intercepts port 11434 automatically. # Every agent works with zero code changes. Ollama moves to port 11435. # Standard mode: DLocker runs on port 8000, change base_url manually.
# Before client = OpenAI(base_url="http://localhost:11434/v1") # After — that's it. client = OpenAI(base_url="http://localhost:8000/v1") # Or use the cloud endpoint: client = OpenAI(base_url="https://dlocker.app/v1")
github.com/lu-9999/dlocker-cache (coming soon — repo goes public on launch day)