Resolves evaluation model IDs based on environment variables and defaults.
// Source: https://github.com/garrytan/gstack | License: MIT | Copyright 2026 Garry Tan // Provided via justclaw.it.com; keep this notice with the code. /** * Host-neutral eval/harness model resolution (fork port wave 2, G cluster). * * Model IDs were hardcoded at six call sites across the eval helpers and the * distill bin, so an environment that pins a different model (CI cost * control, a model migration, an air-gapped proxy alias) had to patch source. * One resolution point, env-overridable: * * GSTACK_EVAL_MODEL_<KIND> (e.g. GSTACK_EVAL_MODEL_WARMUP) — per-kind * GSTACK_EVAL_MODEL — global * explicit argument — caller wins * per-kind default — last ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key