mem0ai/mem0 · error · HTTPException

Embedder provider '{provider}' is not bundled in this image.

Error message

Embedder provider '{provider}' is not bundled in this image. Bundled providers: {', '.join(BUNDLED_EMBEDDER_PROVIDERS)}. To use another provider, install its Python package, rebuild the container, and extend BUNDLED_EMBEDDER_PROVIDERS in server/main.py.

What it means

Error "Embedder provider '{provider}' is not bundled in this image. Bundled providers: {', '.join(BUNDLED_EMBEDDER_PROVIDERS)}. To use another provider, install its Python package, rebuild the container, and extend BUNDLED_EMBEDDER_PROVIDERS in server/main.py." thrown in mem0ai/mem0.

Source

Thrown at server/main.py:251

    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=(
                f"Embedder provider '{provider}' is not bundled in this image. "
                f"Bundled providers: {', '.join(BUNDLED_EMBEDDER_PROVIDERS)}. "
                "To use another provider, install its Python package, rebuild the container, "
                "and extend BUNDLED_EMBEDDER_PROVIDERS in server/main.py."
            ),
        )


def _should_log_request(request: Request) -> bool:
    if request.method == "OPTIONS":
        return False
    path = request.url.path
    if path in SKIPPED_REQUEST_LOG_PATHS:
        return False
    return not path.startswith(SKIPPED_REQUEST_LOG_PREFIXES)

View on GitHub (pinned to 001c235229)

Solutions

  1. Choose one of the bundled embedder providers, or install the provider package, rebuild the container, and extend BUNDLED_EMBEDDER_PROVIDERS in server/main.py.

When it happens

Trigger: Thrown at server/main.py:251 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/1aa743b3584f4602. Report an issue: GitHub.