Bascule entre l'API Anthropic et la passerelle locale
Fait basculer une session entre api.anthropic.com et la passerelle de modèles locale, puis revient à l'API si la passerelle ne répond plus.
Comment l'utiliser
Dans Claude Code, lance ces commandes :
/plugin marketplace add zchee/claude-code-mods /plugin install gateway-switch@claude-code-mods
Présentation
Le code de cette création vit sur le dépôt de son auteur, sous licence Apache 2.0. Installe-la avec la marche à suivre ci-dessus ou depuis le dépôt.
Switches a running session between api.anthropic.com and the local Model Gateway: onto the gateway once Remote Control has registered, on /gateway on, or as each session starts after /gateway setup, and back to api.anthropic.com whenever the gateway stops answering.
Description d'origine, en anglais
Switches a running session between api.anthropic.com and the local Model Gateway: onto the gateway once Remote Control has registered, on /gateway on, or as each session starts after /gateway setup, and back to api.anthropic.com whenever the gateway stops answering.
D'où vient cette fiche
Création de Koichi Shiraishi, publiée sur zchee/claude-code-mods sous licence Apache 2.0.
Le titre, le résumé et le classement en français sont rédigés par SuperPrompt.
