Skip to content

feat(cli): add --model-base-url passthrough to fle inspect-eval - #391

Open
phaestos2501 wants to merge 1 commit into
JackHopkins:mainfrom
phaestos2501:feat/model-base-url-passthrough
Open

feat(cli): add --model-base-url passthrough to fle inspect-eval#391
phaestos2501 wants to merge 1 commit into
JackHopkins:mainfrom
phaestos2501:feat/model-base-url-passthrough

Conversation

@phaestos2501

Copy link
Copy Markdown

Motivation

inspect eval natively accepts --model-base-url, but fle inspect-eval provides no way to forward it, so pointing a run at a local or self-hosted OpenAI-compatible endpoint (vLLM, LM Studio, llama-server) — or a hosted OpenAI-compatible API not in the provider list — requires exporting provider-specific env vars instead of a CLI flag.

Change

Forward --model-base-url to inspect eval when provided.

fle inspect-eval --env-id iron_plate_throughput \
  --model openai-api/deepseek/deepseek-v4-flash \
  --model-base-url https://api.deepseek.com/v1

Verification

Live run with the invocation above (deepseek-v4-flash) resolved through Inspect's OpenAICompatibleAPI, executed a full trajectory against a Factorio container, and scored normally.

🤖 Generated with Claude Code

inspect eval natively accepts --model-base-url, but fle inspect-eval
provided no way to forward it, so pointing a run at a local or
self-hosted OpenAI-compatible endpoint (vLLM, LM Studio, llama-server)
required exporting provider-specific env vars instead of a CLI flag.
Forward the flag when provided.
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