fix: apply provider filtering to /connect endpoint (#5233)

This commit is contained in:
Ravi Kumar
2025-12-09 02:58:32 +05:30
committed by GitHub
parent 4d42daa9a3
commit e38814c597
2 changed files with 17 additions and 5 deletions

View File

@@ -143,7 +143,10 @@ export const AuthLoginCommand = cmd({
map((x) => ({
label: x.name,
value: x.id,
hint: priority[x.id] <= 1 ? "recommended" : undefined,
hint: {
opencode: "recommended",
anthropic: "Claude Max or API key",
}[x.id],
})),
),
{