@tiens.nguyen/gu-cli 1.0.711 → 1.0.713
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/gu-repl.mjs +6 -0
- package/package.json +1 -1
package/gu-repl.mjs
CHANGED
|
@@ -6047,6 +6047,12 @@ async function chooseModel() {
|
|
|
6047
6047
|
// what made a rejected key confusing. The masked tail answers it; ctrl+k replaces it without
|
|
6048
6048
|
// a trip to the web app, which was previously the only way to change a key already saved.
|
|
6049
6049
|
const ks = await coderKeyState(sessionCodingModel);
|
|
6050
|
+
// BOTTOM BAR TRUTH (follow-up to task #223): the tail beside the model name must name the
|
|
6051
|
+
// key THIS coder will actually be handed, not whichever key was last added or ctrl+k-chosen.
|
|
6052
|
+
// Nothing updated it on /model, so the bar kept the OLD provider's tail while the key line
|
|
6053
|
+
// above — and the request itself — used the new one. coderKeyState already asked the API for
|
|
6054
|
+
// exactly this key (provider-scoped), so mirror it here; a keyless coder shows no tail.
|
|
6055
|
+
sessionApiKeyTail = ks.needsKey && !ks.missing && ks.stored ? ks.stored.slice(-4) : "";
|
|
6050
6056
|
if (!ks.needsKey) keyChoicePending = false; // Ollama or local MLX — nothing to choose
|
|
6051
6057
|
if (ks.needsKey && ks.missing) await promptForCodingKey(sessionCodingModel);
|
|
6052
6058
|
else if (ks.needsKey) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tiens.nguyen/gu-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.713",
|
|
4
4
|
"description": "Gu CLI — the gu terminal plus the local worker that runs agent / OCR / PDF / embedding jobs on your Mac (Ollama / MLX / OpenAI-compatible).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|