test_cli_endpoint
test_cli_endpoint
¶
--base-url/--api-key forwarding through the eval CLI plumbing.
Covers the fix for the eval-CLI endpoint gap: the flags used to be silently dropped for jarvis-direct/jarvis-agent and ignored by terminalbench-native (which hardcoded api_base="http://localhost:8000/v1").
Classes¶
TestBuildBackendForwardsEndpoint
¶
Functions¶
test_suite_mode_scopes_endpoint_to_external_backends
¶
[backend.external] suite semantics stay hermes/openclaw-only: first_party_endpoint=False must not forward to first-party.
Source code in src/openjarvis/evals/tests/test_cli_endpoint.py
TestTerminalBenchNativeApiBase
¶
Functions¶
test_api_key_exported_as_openai_api_key_during_run
¶
terminus-2 reads OPENAI_API_KEY via LiteLLM; the var must be set during harness.run() and restored afterwards.