-
Notifications
You must be signed in to change notification settings - Fork 3
Model Selection and Providers
JRS1986 edited this page May 6, 2026
·
3 revisions
CodingScaffold separates model recommendation from request routing.
Use select-model when you want an explainable routing suggestion:
coding-scaffold select-model --target ~/dev/my-project \
--prompt "Review this authentication refactor for security regressions."The command does not call a model. It classifies the task and reports:
- prompt profile
- route:
routineorheavy-lift - provider
- model family
- model or deployment
- confidence
- reasons
Use auto mode when a developer does not want to choose each time:
coding-scaffold select-model --target ~/dev/my-project --mode auto \
--prompt "Fix this failing formatter test."Auto mode still prints the decision so the user can challenge it.
Provider detection checks:
- local runtimes such as Ollama, LM Studio, and llama-server
- local credential files in
.coding-scaffold/.env.local - project-local JSON credentials
- common cloud provider environment variables
- optional GitHub Copilot CLI status during explicit
probeanddoctorcommands
Secrets are never printed.
For Azure OpenAI, use:
AZURE_OPENAI_API_KEY=
AZURE_OPENAI_ENDPOINT=
AZURE_OPENAI_DEPLOYMENT=
For Azure AI or Cognitive Services style endpoints, use:
AZURE_AI_API_KEY=
AZURE_AI_ENDPOINT=
AZURE_AI_MODEL=
AZURE_AI_MODEL_FAMILY=openai
If the endpoint serves Anthropic-family models, set:
AZURE_AI_MODEL_FAMILY=anthropic