Skip to content

fix(dashboard): support Anthropic provider in LLM health check - #1

Open
Milofax wants to merge 4 commits into
Brusdeylins:mainfrom
Milofax:fix/anthropic-health-check
Open

fix(dashboard): support Anthropic provider in LLM health check#1
Milofax wants to merge 4 commits into
Brusdeylins:mainfrom
Milofax:fix/anthropic-health-check

Conversation

@Milofax

@Milofax Milofax commented Feb 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • check_model_availability now accepts a provider parameter
  • For anthropic providers: connectivity check to base URL (no /models endpoint available)
  • For openai providers (default): existing /models query unchanged
  • Both LLM and embedder checks pass their provider from config.yaml

Problem

When using an Anthropic-compatible LLM (e.g. Claude via proxy), the dashboard always shows "Model Not Found" or "Unreachable" because the health check queries /models — an endpoint that doesn't exist on Anthropic APIs.

Test plan

  • Verify OpenAI/Ollama embedder still shows "Connected" (unchanged behavior)
  • Verify Anthropic LLM now shows "Connected" instead of "Model Not Found"
  • Verify unreachable APIs still show "Unreachable" for both providers

Both UI and MCP server now install graphiti-core from the same
source, preventing version mismatches in the shared FalkorDB.
The data volume mount inherits root ownership, preventing the
non-root appuser from writing credentials.yaml and .secret_key.
Pre-create the directory with correct ownership in the image.
The health check previously only supported OpenAI-compatible APIs
by querying /models. Anthropic APIs don't have this endpoint,
causing the LLM status to always show "Model Not Found" or
"Unreachable" when using Claude via Anthropic-compatible proxies.

Now check_model_availability accepts a provider parameter:
- openai (default): queries /models to verify the model exists
- anthropic: performs a connectivity check to the base URL

Both the LLM and embedder checks now pass their provider from
config.yaml, so mixed setups (e.g. Anthropic LLM + Ollama embedder)
work correctly.
…vars

The /config/llm/status and /config/embedder/status endpoints (used by
the frontend dashboard) were reading from env vars only, missing the
actual provider configuration in config.yaml. This caused Anthropic
LLM setups to always show Ollama's URL and "Model Not Found".

Now _get_provider_config() reads config.yaml first (which has the
correct provider, API URL, and model), falling back to env vars.
The health check also supports Anthropic providers (connectivity
check instead of /models query).
@Milofax

Milofax commented Mar 8, 2026

Copy link
Copy Markdown
Collaborator Author

Hey! Just a friendly check-in on this small fix — adds Anthropic provider support to the LLM health check dashboard. Let me know if you'd like any changes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant