aboutsummaryrefslogtreecommitdiffstats
path: root/docs/superpowers/specs/2026-08-09-external-providers-design.md
AgeCommit message (Collapse)AuthorFilesLines
2026-08-09docs: name the local provider "local", not "default"Danilo M.1-13/+13
The name is behaviour, not config: it decides which provider a bare base_url synthesizes, which one renders without a prefix, which one skips filtering, and which one is exempt from the model dialog. All four live in code, so the name had to be picked before implementation. "default" was doing double duty as "the fallback" and "the local one", and only the second is true. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-09docs: spec for external cloud providersDanilo M.1-0/+275
Design for talking to OpenAI-compatible cloud providers alongside the local router. Providers are config table entries, local becomes the "default" one, and a bare base_url still synthesizes it so existing configs keep working. Cloud models carry no presets.ini entry and cost money, so missing metadata (context size, vision, prices) is entered through a per-model dialog stored in models.ini, and an approximate per-conversation cost sits next to the context meter. Token counts and the producing model move onto the messages table so cost survives reopening a chat and prices each reply at whatever produced it. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>