How to Fix Doubled API Paths (/v1/v1) in Local AI Connectors
A doubled API path such as /v1/v1/chat/completions appears when a client appends a versioned endpoint to a base URL that already ends in /v1. The fix is…
TAGGED GUIDES
Explore the guides, ideas, and practical explanations in this topic.
59 published articlesA doubled API path such as /v1/v1/chat/completions appears when a client appends a versioned endpoint to a base URL that already ends in /v1. The fix is…
A KV cache stores the key and value tensors for every token already in the sequence, at every attention layer, so the model does not reprocess the…
Ollama, LM Studio, llama.cpp and vLLM are not four versions of the same thing — they sit at different layers of the local inference stack. For WordPress,…
Bulk writing with Ollama means one non-streaming request per prompt, orchestrated by your own script. Two documented patterns cover most needs: a simple sequential JSONL batch tool,…
A Modelfile is Ollama's blueprint for creating customized models. You can set a persistent system prompt with SYSTEM, adjust runtime defaults such as temperature and num_ctx with…
A local LLM evaluation harness runs a fixed set of prompts through a model on your own machine and scores the outputs automatically, so prompt or model…
Ollama's context length controls how many tokens a model can process at once, and the KV cache is the memory that stores those tokens. Configure it with…
Put a reverse proxy in front of your local AI server to enforce TLS and require an Authorization: Bearer token on every request. This guide covers the…
In llama.cpp, GPU layer offloading is controlled with -ngl, --gpu-layers, or --n-gpu-layers, which accepts an exact layer count, auto, or all. Ollama generally manages offloading automatically, so…
A Modelfile is Ollama's blueprint for a customized model: it names the base model, sets runtime parameters, and injects a system prompt. This guide walks through writing…
A personal knowledge base with local AI and Obsidian combines a folder of plain Markdown notes, a local model runtime such as Ollama, and a plugin that…
Continue and Ollama together let chat and tab autocomplete run against a model hosted on your own machine. The setup is short: install Ollama, start the service,…