Documentation Infrastructure
INFRASTRUCTURE / TECHNICAL

Qwen & production workers

The compatibility contract that keeps NutsNews connected to local AI.

Existing interface

The route ai.nutsnews.com forwards through the existing tunnel to the loopback local AI API on port 8788. Ollama listens on port 11434 and provides qwen2.5:3b.

Authentication and requests

Authenticated requests use the x-nutsnews-ai-key header. Existing endpoints include GET /health, GET /stats, POST /review, and POST /translate. Translation language support is defined by the deployed API; the compatibility probe uses French.

Release gate

Verify health and model availability, send a synthetic translation request, and require provider=local, model=qwen2.5:3b, and a successful response. Record duration without recording prompt or response contents. Compare the AI service process identity before and after unrelated releases.

Worker path

Check production-worker configuration and connectivity from its deployment environment. A direct developer-machine probe establishes endpoint health but is not a substitute for evidence from the worker path.

Cloudflare Workers compatibility probe

A dedicated authenticated compatibility worker calls the unchanged production AI route from the Cloudflare Workers runtime. Deployment verifies local-provider and Qwen-model identity before and after changes. The probe has no schedules, database writes, or production worker configuration changes.

ON THIS PAGE

THREE WAYS TO UNDERSTAND

Same system.
Your level of detail.

Switch reading modes above to find the explanation that fits.

Explore Expert →

Keep exploring

The local server

The host, its services, and how it is managed without reinstalling it.

GitHub deployment pipeline

From a reviewed change to a verified release on the server.