chatboxai/chatbox · error · Error
Cannot find model with provider: ${settings.provider}
Error message
Cannot find model with provider: ${settings.provider} What it means
Error "Cannot find model with provider: ${settings.provider}" thrown in chatboxai/chatbox.
Source
Thrown at src/shared/providers/index.ts:208
const effectiveApiKey = resolveEffectiveApiKey(providerSetting, dependencies.platformType || 'desktop')
return createCustomProviderModel(
{
settings,
globalSettings,
config,
dependencies,
providerSetting,
formattedApiHost,
formattedApiPath,
model,
effectiveApiKey,
},
providerBaseInfo.type,
dependencies
)
}
throw new Error(`Cannot find model with provider: ${settings.provider}`)
}
View on GitHub (pinned to 81571269ad)
Solutions
- Re-select the model in settings; the provider is neither in the registry nor in the custom providers list.
- Recreate the custom provider if it was removed, then pick the model again.
- Check for typos or stale provider ids in restored/migrated settings.
Example fix
// getModel fell through registry and custom-provider paths // Fix: assign a valid provider id to settings.provider
When it happens
Trigger: Thrown at src/shared/providers/index.ts:208 when the library encounters an invalid state.
Common situations: Occurs in src/shared/providers/index.ts when the settings provider id does not match any registered model provider.
AI-assisted analysis of chatboxai/chatbox@81571269ad (2026-08-12).
Data as JSON: /api/errors/2db8ba0fc3441db1.
Report an issue: GitHub.