LLM Supervisor

Automatically switches OpenClaw between cloud and local Ollama models when rate limits occur.

modbender Updated 12 repo stars

File contents

LLM Supervisor

Automatically switches OpenClaw between cloud and local Ollama models when rate limits occur.

Features

  • Detects rate-limit / overload errors from Anthropic/OpenAI
  • Switches to a local Ollama fallback model
  • Requires explicit confirmation before local code generation
  • Supports manual commands:

Commands

  • /llm status
  • /llm switch cloud
  • /llm switch local

Default Local Model

  • qwen2.5:7b

Safety

Local code generation requires the user to type:

CONFIRM LOCAL CODE

modbender/skill-library-mcp/tree/main/data/llm-supervisor-agent commit 4bf8830bf9

Frequently asked questions

npx skillmds@latest add modbender/llm-supervisor-2