Skip to content

Claude Code. Any Model. The most powerful AI coding agent now speaks every language.

docs(probe): put credentialHintFrom's JSDoc back above it

Jack Rudenko3e998920430e
diff --git a/packages/cli/src/cli.ts b/packages/cli/src/cli.ts
index d9250b6c..0774135b 100644
--- a/packages/cli/src/cli.ts
+++ b/packages/cli/src/cli.ts
@@ -1583,16 +1583,6 @@ async function probeModelRouting(
type LiveProxy = { url: string; shutdown: () => Promise<void> };
- /**
- * The remedy a credential-less row shows.
- *
- * Reads it off the PROVENANCE rather than naming providers here: a record that
- * carries an `effectiveLabel` is one whose credential is not an environment
- * variable at all (Vertex, whose Google Cloud project comes from the ADC file
- * or `gcloud config`), and for those the variable name is the wrong
- * instruction — its `effectiveSource` is the sentence that names both
- * remedies. Everyone else keeps the bare variable name they always had.
- */
/**
* The Muse Code credential as a provenance record, through `effectiveLabel`
* (the channel for a credential that is not an env var). Present:
@@ -1611,6 +1601,16 @@ async function probeModelRouting(
};
}
+ /**
+ * The remedy a credential-less row shows.
+ *
+ * Reads it off the PROVENANCE rather than naming providers here: a record that
+ * carries an `effectiveLabel` is one whose credential is not an environment
+ * variable at all (Vertex, whose Google Cloud project comes from the ADC file
+ * or `gcloud config`), and for those the variable name is the wrong
+ * instruction — its `effectiveSource` is the sentence that names both
+ * remedies. Everyone else keeps the bare variable name they always had.
+ */
function credentialHintFrom(
provenance: KeyProvenance | undefined,
envVar: string | undefined