Replace the dead default OpenRouter free model

recursive/flint-v1.0:free lost its upstreams (OpenRouter 503 'no upstreams
available'), so deployments that set only AI_API_KEY inherited a dead
default. DefaultModel and the BYO suggested-model list now use slugs
verified live on 2026-11-03; README/RUNNING examples updated. Deployments
with an explicit AI_MODEL (dev, core) were unaffected.
This commit is contained in:
Andrew S Erwin
2026-11-02 22:14:19 -06:00
parent ad9c351649
commit 3e0a9def1f
4 changed files with 8 additions and 5 deletions
+5 -2
View File
@@ -42,8 +42,11 @@ import (
)
// DefaultModel is the fallback for the server env config (OpenRouter free
// tier). User configs always carry an explicit model.
const DefaultModel = "recursive/flint-v1.0:free"
// tier). User configs always carry an explicit model. Free slugs rotate on
// OpenRouter (recursive/flint-v1.0:free lost its upstreams around 2026-11);
// when swapping this, probe /api/v1/models for ":free" ids first — and note
// deployments that set AI_MODEL explicitly are unaffected either way.
const DefaultModel = "nvidia/nemotron-3-ultra-550b-a55b:free"
const defaultOpenAIBase = "https://openrouter.ai/api/v1"