Skip to content

[BUG] Cannot run evals with Custom Provider only - requires API key in main LLM Providers #1515

@ziondamore

Description

@ziondamore

Description

I cannot run evals when using only a Custom Provider. The system shows the error:
"Please add your custom API key in Settings before running evals"

Steps to Reproduce

  1. Go to Settings → Custom Providers
  2. Add a custom provider with:
    • Provider Name: my-proxy
    • Protocol: OpenAI Compatible
    • Base URL: https://my-proxy-url.com
    • API Key: (valid key)
    • Model Names: gpt-5.2
  3. Go to Test Cases
  4. Select the custom model from "YOUR PROVIDERS → Custom"
  5. Click "Run"

Expected Behavior

Evals should run using the configured Custom Provider since:

  • Custom Provider is properly configured with API key
  • Model is selected and appears in "Active Models"
  • The model works in Playground/Inspector

Actual Behavior

Error message appears: "Please add your custom API key in Settings before running evals"

The system requires an API key in the main LLM Providers (OpenAI, Anthropic, etc.) even though I'm using a Custom Provider.

Environment

  • MCPJam Inspector version: v2.0.3
  • Browser: Chrome/Safari
  • OS: macOS

Additional Context

My organization uses a custom AI proxy that is OpenAI-compatible. I cannot add this key to the main OpenAI provider because it
uses a different base URL. The Custom Provider feature exists exactly for this use case, but evals don't support it.

Suggested Solution

Allow evals to run when a Custom Provider is configured and selected, without requiring API keys in the main LLM Providers
section.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions