cli
dbx model-proxy CLI.
Run bare (dbx model-proxy), it serves: a loopback OpenAI-compatible endpoint that fronts
Databricks Model Serving with fuzzy model names and per-request auth. chat
starts that same proxy and hands off to an off-the-shelf terminal client
wired to it. models lists the resolvable endpoints; resolve shows what a
fuzzy name snaps to. Auth comes from the standard Databricks SDK resolution
(env vars, --profile, or databricks auth login).
This package ships no bin of its own: buildProgram is mounted as the
model-proxy subcommand of the single dbx CLI (@dbx-tools/cli), which
imports this module lazily so an unrelated dbx command never pays for the
Databricks SDK load.
Shared flags (--profile, --workspace-host, --threshold, …) are declared
on the root and redeclared on subcommands for help discoverability. Commander
parks the values on the parent when both declare the same flag, so every
subcommand action must read Command.optsWithGlobals - local opts
alone misses --profile (env DATABRICKS_CONFIG_PROFILE still worked because
the SDK reads that without the CLI flag).
Functions
Section titled “Functions”References
Section titled “References”CommanderError
Section titled “CommanderError”Re-exports CommanderError