Model assignments

How CoopAI routes chat, quick actions, edit mode, and autocomplete to assigned models.

Last updated: 2026-08-21

CoopAI assigns an LLM per feature in production. You do not pick provider or model on Developer or Pro — Coop routes each use case to the model below. Custom model selection is an Enterprise capability (coming soon).

Model & chat — read-only assigned models for Chat, Quick actions, /edit, and Autocomplete

Assigned models

FeatureProviderModelRoutes via
Chat (free-form composer)OpenAIGPT-5 miniChat session → resolveAssignedModelForUseCase()
Quick actions (Understand Repo, Trace Decision, Find Owner, Blast Radius, Knowledge Gaps; integration chat)AnthropicClaude Sonnet 4.6Same
/edit patches (/edit, /patch, /fix)OpenAIGPT-5.1Same (code_edit use case)
Autocomplete (inline ghost text)MistralCodestralcompletionRouter.ts → FIM when available
Intent suggest (quick-action chips when phrase match is weak)OpenAIGPT-4o miniSame (intent_suggest use case)
Sources expand preview (short AI overview for expanded source cards)OpenAIGPT-4o miniSame (evidence_preview use case)
PR notes (Create pull request summary)OpenAIGPT-4o miniSame (pr_summary use case)
Embeddings (Deep-Index semantic search)OpenAItext-embedding-3-smallBackend only — not shown in settings

Quick actions and integration chat share the quick actions assignment. Plain chat in the composer uses the chat assignment regardless of which model you might have used in an older install. Intent suggest runs for everyone when the local phrase classifier is unsure — it never auto-runs a quick action (chips confirm first). Sources expand previews use a short AI overview when the body is long; expanded panels never dump full commit/PR/thread text — use the outbound link for the full record. Create pull request Notes use the same cheap OpenAI mini model and are labeled (AI Generated) — you can edit them before submit.

Settings UI — Model & chat

Extension UISettings (gear) → PreferencesModel & chat

Production users see:

  • Copy: Models are assigned by Coop for chat, quick actions, and edit mode. Custom model selection is an Enterprise capability (coming soon).
  • Read-only assignment rows — feature name, provider · model, and an On / Off badge
  • One toggle you can change:
    • Enable inline autocomplete — master switch for ghost-text completions
  • Chat, quick actions, edit mode, and intent suggest assignment are always on in this list (no toggle)
  • Save model settings persists the autocomplete toggle

The Preferences hub subtitle shows Assigned models plus autocomplete status (for example, Assigned models · Autocomplete on).

There is no provider or model picker in settings. Model routing is operator cost — not user-facing credits or per-model pricing.

Developer mode override

Set coopAI.devMode: true in VS Code User settings to unlock local coopAI.llmProvider and coopAI.defaultModel overrides for testing. The Model & chat screen does not expose pickers — edit VS Code settings directly if needed.

SettingDefaultPurpose
coopAI.autocomplete.enabledtrueSame as Enable inline autocomplete (global scope)
coopAI.devModefalseUnlock provider/model overrides and local PAT flows

See Extension settings for the full settings hub.

Next steps