mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
bench: crusoe endpoint key env must be OPENAI_COMPAT_API_KEY
The container runtime injects the trial key under exactly the api_key_env name, but buzz-agent's provider=openai path reads only OPENAI_COMPAT_API_KEY (crates/buzz-agent/src/config.rs req()). A vendor-named var (CRUSOE_INFERENCE_API_KEY) would fail every agent at config parse before the first request. Matches the pattern of every other provider=openai endpoint config in testbed/endpoints/. Co-authored-by: Eva <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@buzz.block.builderlab.xyz> Signed-off-by: Eva <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@buzz.block.builderlab.xyz>
This commit is contained in:
@@ -12,7 +12,10 @@
|
||||
# preview — NOT the 0731 our other runs use; that comparison is the point).
|
||||
# Model id is case-exact: lowercase 's' in "Deepseek". Endpoint config:
|
||||
# testbed/endpoints/crusoe-live.json (OPENAI_COMPAT_BASE_URL
|
||||
# https://api.inference.crusoecloud.com/v1, key env CRUSOE_INFERENCE_API_KEY).
|
||||
# https://api.inference.crusoecloud.com/v1). api_key_env must be
|
||||
# OPENAI_COMPAT_API_KEY — the runtime injects the key under exactly that
|
||||
# name and buzz-agent's provider=openai reads only OPENAI_COMPAT_API_KEY
|
||||
# (config.rs req()); a vendor-named var dies at agent config parse.
|
||||
# Pricing: crusoe.ai/cloud/pricing 2026-08-07 snapshot, $0.14/$0.28 per M.
|
||||
schema_version: "1"
|
||||
condition: tb-triplet-mia-mie-mio-crusoe
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"deepseek-ai/Deepseek-V4-Flash": {
|
||||
"provider": "openai",
|
||||
"api_key_env": "CRUSOE_INFERENCE_API_KEY",
|
||||
"api_key_env": "OPENAI_COMPAT_API_KEY",
|
||||
"env": {
|
||||
"OPENAI_COMPAT_BASE_URL": "https://api.inference.crusoecloud.com/v1"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user