Roo Code API Configuration Profiles: Bind Models to Modes
How to create, name, and switch Roo Code API configuration profiles, bind them to modes, handle API keys on export, and verify requests hit the new endpoint.
Blog
「Developer tools」分类下的文章。
How to create, name, and switch Roo Code API configuration profiles, bind them to modes, handle API keys on export, and verify requests hit the new endpoint.
How Cherry Studio builds the API URL: root only, trailing /, or trailing #. Includes a v1/v2/v3 path table and the order for debugging 401, 404, model-not-found and timeout errors.
Coding agent tokens mostly go to resent context. Use a formula built on sessions, requests, cache hit rate and prices, and measure real usage with ccusage.
One open model can have dozens of OpenRouter providers with different quantization and uptime. How to use order, ignore and quantizations, with curl examples.
Three Uptime Kuma checks for an OpenAI-compatible API: reachability, keyed /v1/models, and a chat POST checked by JSON query, with interval and cost tips.
Forward OpenAI and Claude status page RSS to Feishu, DingTalk and WeCom bots with a short Python script. Covers signing, dedup, rate limits and cron.
GitHub Copilot could not connect? Classify the error text, rule out a GitHub outage, then check DNS, VS Code proxy settings, corporate certificates and extension versions.
Cursor says Connection failed, check your internet or VPN? Check for outages, run the network diagnostic, disable HTTP/2, then verify proxy and session.
How to build LLM API failover: which errors trip a circuit breaker, how to order fallback providers, mid-stream switching, quality drops, with Python code.
How to retry LLM API calls: full jitter backoff, total time caps, retry budgets and SDK double-retry amplification, with Python and TypeScript code.
How RDAP differs from WHOIS in protocol, format and routing, with curl and jq commands to look up an IP's range, holder, country and abuse contact.
Two ways to set up a custom provider in OpenCode (openai-compatible or a baseURL override), how configs merge, and what to check when /models shows nothing.
Field-by-field Codex config.toml reference: how to write model_providers, env_key, wire_api and profiles, which -c override wins, and how to verify.
Build a status page for an AI API service: how to split components, source data, define status levels, write incident updates, plus a pre-launch checklist.
How to choose an LLM API: compare official, cloud-hosted and gateway access across six factors, with test commands, public data sources and a decision flow.
What Cursor's custom API key and Override OpenAI Base URL do and don't cover, why localhost fails, plus a step-by-step debugging order and curl self-checks.
Where Claude Code's four settings.json files live, which wins on conflict, what env proxy and base URL variables affect, and how to check with /status.
Working npm mirror URLs, plus how to switch and revert registries in npm, pnpm, Yarn and Bun, and how to find which layer makes installs slow.
Domains, ports and proxy settings Claude Code and Codex need, with a firewall allowlist template, curl self-checks, and common blocked-request errors.
Using AI APIs from China: pick a model source, test your network with curl, choose how to pay, and know the compliance limits, plus a pre-launch checklist.
OpenAI GPT-Live added prompt-to-voice on Oct 16: create a custom voice from text for free. Pricing, a minimal setup flow, and a latency self-check.
The Agents API added computer use Sept 29; GPT-6.1 Sol got subagent delegation (beta). How it differs from the Responses API, how billing works, what to watch.
Codex CLI 0.163.0 shipped Oct 15 with mid-reply steering and a searchable /config. Here are the new features, an upgrade checklist, and Windows/WSL fixes.
How Claude prompt caching works, which requests benefit, where to put cache_control, how to confirm hits from the usage fields, plus a pre-launch checklist and a cost script.