mem0ai/mem0 · error · HTTPException
LLM provider '{provider}' is not bundled in this image. Bund
Error message
LLM provider '{provider}' is not bundled in this image. Bundled providers: {', '.join(BUNDLED_LLM_PROVIDERS)}. To use another provider, install its Python package, rebuild the container, and extend BUNDLED_LLM_PROVIDERS in server/main.py. What it means
Error "LLM provider '{provider}' is not bundled in this image. Bundled providers: {', '.join(BUNDLED_LLM_PROVIDERS)}. To use another provider, install its Python package, rebuild the container, and extend BUNDLED_LLM_PROVIDERS in server/main.py." thrown in mem0ai/mem0.
Source
Thrown at server/main.py:235
detail = str(exc)
status_code = 404 if isinstance(exc, ValueError) and "not found" in detail.lower() else 400
return HTTPException(status_code=status_code, detail=detail)
def _redact_config(value: Any, key: str | None = None) -> Any:
if isinstance(value, dict):
return {item_key: _redact_config(item_value, item_key) for item_key, item_value in value.items()}
if isinstance(value, list):
return [_redact_config(item_value, key) for item_value in value]
if key is not None and key.lower() in SENSITIVE_CONFIG_KEYS:
return "[redacted]" if value else value
return value
def _validate_bundled_providers(config: Dict[str, Any]) -> None:
llm = config.get("llm")
if isinstance(llm, dict) and (provider := llm.get("provider")) and provider not in BUNDLED_LLM_PROVIDERS:
raise HTTPException(
status_code=400,
detail=(
f"LLM provider '{provider}' is not bundled in this image. "
f"Bundled providers: {', '.join(BUNDLED_LLM_PROVIDERS)}. "
"To use another provider, install its Python package, rebuild the container, "
"and extend BUNDLED_LLM_PROVIDERS in server/main.py."
),
)
embedder = config.get("embedder")
if (
isinstance(embedder, dict)
and (provider := embedder.get("provider"))
and provider not in BUNDLED_EMBEDDER_PROVIDERS
):
raise HTTPException(
status_code=400,
detail=(View on GitHub (pinned to 001c235229)
Solutions
- Choose one of the bundled LLM providers, or install the provider package, rebuild the container, and extend BUNDLED_LLM_PROVIDERS in server/main.py.
When it happens
Trigger: Thrown at server/main.py:235 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of mem0ai/mem0@001c235229 (2026-08-15).
Data as JSON: /api/errors/e38e6ee0e326e6c9.
Report an issue: GitHub.