Skip to content

mdgld/little-coder-advisor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

little-coder OpenRouter Advisor

External little-coder extension loaded with LITTLE_CODER_EXTRA_EXTENSIONS. It keeps the local model primary and uses OpenRouter only for optional advisory critique, recovery steering, and explicit review requests.

Usage

export OPENROUTER_API_KEY=...
export LITTLE_CODER_EXTRA_EXTENSIONS=/Users/matthewgold/code/little-coder-openrouter-advisor
export LITTLE_CODER_ADVISOR_MODEL=~openai/gpt-latest
little-coder --model llamacpp/qwen3.6-35b-a3b

Environment

  • OPENROUTER_API_KEY - required for advisor calls. Accepts any OpenAI-compatible key.
  • LITTLE_CODER_ADVISOR_MODEL - defaults to ~openai/gpt-latest.
  • LITTLE_CODER_ADVISOR_BASE_URL - defaults to https://openrouter.ai/api/v1. Replace with your choice of OpenAI-compatible url.
  • LITTLE_CODER_ADVISOR_ENABLED - defaults to enabled unless set to 0, false, no, or off.
  • LITTLE_CODER_ADVISOR_TIMEOUT_MS - defaults to 60000.

No API keys are written to disk. Error messages redact bearer tokens and known key-like strings before being returned to the model/UI.

About

Cloud advisor for little-coder. Use any OpenAI-compatible endpoint and get a frontier model to chime in with help when your local model hits a failure condition repeatedly.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors