{
 "schema_version": 1,
 "generated": "2026-10-24",
 "id": "yinxulai-osw--keep-coding-tools-running-through-provider-outages",
 "repo": "yinxulai/osw",
 "repo_url": "https://github.com/yinxulai/osw",
 "repo_slug": "yinxulai-osw",
 "title": "Keep AI coding tools running when one provider fails",
 "page_title": "How to keep AI coding tools running when one provider fails with Osw",
 "summary": "Register several channels in OSW so your client keeps getting answers when one provider breaks.",
 "who": "A developer whose daily coding assistant stops whenever one provider has an outage, rate limit, or exhausted quota.",
 "problem": "Each AI tool is configured against a single provider. When that provider returns errors or times out, you must manually switch keys, URLs, and model names in every tool.",
 "outcome": "Your tools point at one local address, and OSW moves each request to the next channel in your queue when a channel fails.",
 "steps": [
  "Download the installer for your platform from the latest release on the OSW GitHub page and install it.",
  "Open Model Management, choose New provider, and enter the name, API key, timeout, and default endpoint for each provider you use.",
  "Add the real model IDs under each provider and tick the protocols each model supports.",
  "Open Logical Models, drag the models into the order you want them tried, and switch off any you want to skip.",
  "In your AI client, set the base URL to http://127.0.0.1:9300/v1 for OpenAI compatible tools, or http://127.0.0.1:9300 for Anthropic clients.",
  "Run `curl http://127.0.0.1:9300/v1/models` to confirm the service is alive."
 ],
 "agent_prompt": "Using the OSW repo at yinxulai/osw, configure a local proxy with the channels for <provider-list>, then point <client-name> at http://127.0.0.1:9300/v1. Expected output: a list of model names from `curl http://127.0.0.1:9300/v1/models`. Verify that the models endpoint returns a response before reporting success.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "30 minutes",
 "basis": "readme",
 "caveat": "Failover only moves a request to the next channel in your queue, and a response that has already started streaming is aborted rather than finished by another channel.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "A Mac, Windows PC, or Linux machine that can run the OSW installer",
  "API keys for at least two LLM channels you own",
  "An AI client that lets you set a custom base URL"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "OSW stores the API keys for every channel you add, so only enter keys for accounts you are allowed to use through this proxy."
  }
 ],
 "best": true,
 "score": 1.0,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/yinxulai-osw/keep-coding-tools-running-through-provider-outages/",
 "md": "https://dedupedai.com/use-cases/yinxulai-osw/keep-coding-tools-running-through-provider-outages/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/yinxulai-osw--keep-coding-tools-running-through-provider-outages.json",
 "api_version": "v1"
}
