chore: update deps and pi model discovery

This commit is contained in:
Peter Steinberger
2026-01-31 06:40:45 +01:00
parent 85dd070dea
commit 08ed62852a
32 changed files with 1424 additions and 1419 deletions

View File

@@ -68,8 +68,9 @@ export async function applyAuthChoiceOAuth(
});
spin.stop("Chutes OAuth complete");
const email = typeof creds.email === "string" ? creds.email.trim() : "";
const profileId = `chutes:${email || "default"}`;
const email =
typeof creds.email === "string" && creds.email.trim() ? creds.email.trim() : "default";
const profileId = `chutes:${email}`;
await writeOAuthCredentials("chutes", creds, params.agentDir);
nextConfig = applyAuthProfileConfig(nextConfig, {