Skip to content

Commit 554616e

Browse files
committed
Add "Custom • " prefix to the detail description of custom API providers in the quick pick list
1 parent adbb0a2 commit 554616e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/vscode/src/view/backend/message-handlers/handle-configure-api-providers.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,9 @@ export const handle_configure_api_providers = async (
7575
description: masked_api_key,
7676
detail:
7777
provider.type == 'custom'
78-
? provider.base_url || '⚠ Missing base URL'
78+
? `Custom • ${
79+
provider.base_url ? provider.base_url : '⚠ Missing base URL'
80+
}`
7981
: `Predefined • ${PROVIDERS[provider.name].base_url}`,
8082
buttons: buttons,
8183
provider,

0 commit comments

Comments
 (0)