From 3fa70bbf81d58ef30db33c33ed29c629f4a303aa Mon Sep 17 00:00:00 2001 From: Thushani Jayasekera Date: Mon, 13 Jul 2026 22:32:30 +0530 Subject: [PATCH 1/2] Refactor LLM terminology to AI across the application This commit updates various components and pages to replace instances of "LLM Provider" and related terms with "AI Provider" for consistency and clarity. Changes include updates in Cypress tests, UI components, and documentation references, ensuring a unified terminology throughout the application. --- .../005-custom-provider-template.cy.js | 6 +++--- .../GatewayDeployConfigDrawer.tsx | 2 +- .../src/pages/appShell/AppSidebar.tsx | 2 +- .../pages/appShell/QuickStartIntroPopup.tsx | 2 +- .../applications/OverviewTabs/APIKeyTab.tsx | 2 +- .../OverviewTabs/AssociationsTab.tsx | 14 +++++++------- .../OverviewTabs/AssociationsTable.tsx | 6 +++--- .../appShellPages/projects/ExploreMoreCard.tsx | 8 ++++---- .../projects/ProxyQuickStartBanner.tsx | 2 +- .../CreateProviderTemplate.tsx | 2 +- .../providerTemplate/EditProviderTemplate.tsx | 2 +- .../providerTemplate/ProviderTemplatesList.tsx | 18 +++++++++--------- .../appShellPages/proxies/LLMProxyNew.tsx | 4 ++-- .../proxies/LLMProxyProviderTab.tsx | 2 +- .../AIGatewayStepBanner.tsx | 2 +- .../appShell/appShellPages/quickStart/Main.tsx | 2 +- .../lllmStepBanner/LLLMStepBanner.tsx | 6 +++--- .../quickStart/providerProxyOption.ts | 8 ++++---- .../ProviderTemplateFormFields.tsx | 2 +- .../serviceProvider/ProvidersList.tsx | 16 ++++++++-------- .../ServiceProviderDeploymentsCard.tsx | 2 +- .../serviceProvider/ServiceProviderNew.tsx | 4 ++-- .../ServiceProviderOverview.tsx | 2 +- .../ServiceProvidersSummaryCard.tsx | 8 ++++---- .../appShell/appShellPages/settings/Main.tsx | 2 +- .../src/pages/login/BasicAuthLoginPage.tsx | 2 +- .../src/pages/register/OrgRegisterPage.tsx | 2 +- 27 files changed, 65 insertions(+), 65 deletions(-) diff --git a/portals/ai-workspace/cypress/e2e/005-provider-templates/005-custom-provider-template.cy.js b/portals/ai-workspace/cypress/e2e/005-provider-templates/005-custom-provider-template.cy.js index 503b2f92cf..8d4abcb3f9 100644 --- a/portals/ai-workspace/cypress/e2e/005-provider-templates/005-custom-provider-template.cy.js +++ b/portals/ai-workspace/cypress/e2e/005-provider-templates/005-custom-provider-template.cy.js @@ -79,7 +79,7 @@ describe('AI Workspace - Custom LLM provider template lifecycle', () => { it('creates a custom template, versions it, uses it for a provider, and blocks deletion while in use', () => { // --- Create the custom template (v1.0) --------------------------------- cy.contains('Settings', { timeout: 30000 }).should('be.visible').click(); - cy.contains('LLM Provider Templates', { timeout: 30000 }).should('be.visible'); + cy.contains('AI Provider Templates', { timeout: 30000 }).should('be.visible'); cy.get('[data-cyid="add-provider-template-button"]', { timeout: 30000 }) .scrollIntoView() @@ -96,7 +96,7 @@ describe('AI Workspace - Custom LLM provider template lifecycle', () => { .should('not.be.disabled') .click(); - cy.contains('LLM Provider Templates', { timeout: 30000 }).should('be.visible'); + cy.contains('AI Provider Templates', { timeout: 30000 }).should('be.visible'); cy.get(`[data-cyid="provider-template-card-${templateV1Id}"]`, { timeout: 30000, }) @@ -219,7 +219,7 @@ describe('AI Workspace - Custom LLM provider template lifecycle', () => { }); // That was the only remaining version, so the whole template is gone. - cy.contains('LLM Provider Templates', { timeout: 30000 }).should('be.visible'); + cy.contains('AI Provider Templates', { timeout: 30000 }).should('be.visible'); cy.contains(templateName).should('not.exist'); }); }); diff --git a/portals/ai-workspace/src/Components/GatewayDeploy/GatewayDeployConfigDrawer.tsx b/portals/ai-workspace/src/Components/GatewayDeploy/GatewayDeployConfigDrawer.tsx index 35b173600b..8170e8b262 100644 --- a/portals/ai-workspace/src/Components/GatewayDeploy/GatewayDeployConfigDrawer.tsx +++ b/portals/ai-workspace/src/Components/GatewayDeploy/GatewayDeployConfigDrawer.tsx @@ -99,7 +99,7 @@ export default function GatewayDeployConfigDrawer({ value={host} onChange={(e) => setHost(e.target.value)} fullWidth - helperText="Gateway URL of the LLM Provider (optional)" + helperText="Gateway URL of the AI Provider (optional)" /> diff --git a/portals/ai-workspace/src/pages/appShell/AppSidebar.tsx b/portals/ai-workspace/src/pages/appShell/AppSidebar.tsx index 35d3091865..c20de03c4d 100644 --- a/portals/ai-workspace/src/pages/appShell/AppSidebar.tsx +++ b/portals/ai-workspace/src/pages/appShell/AppSidebar.tsx @@ -222,7 +222,7 @@ export default function AppSidebar({ - LLM Providers + AI Providers )} diff --git a/portals/ai-workspace/src/pages/appShell/QuickStartIntroPopup.tsx b/portals/ai-workspace/src/pages/appShell/QuickStartIntroPopup.tsx index e8d4ba8a4e..4d88a01fa4 100644 --- a/portals/ai-workspace/src/pages/appShell/QuickStartIntroPopup.tsx +++ b/portals/ai-workspace/src/pages/appShell/QuickStartIntroPopup.tsx @@ -203,7 +203,7 @@ export default function QuickStartIntroPopup({ color: '#6a6a6c', }} > - Step-by-step guided flows for LLM Providers, MCP Proxies, and more — + Step-by-step guided flows for AI Providers, MCP Proxies, and more — set up your AI Gateway in minutes. diff --git a/portals/ai-workspace/src/pages/appShell/appShellPages/applications/OverviewTabs/APIKeyTab.tsx b/portals/ai-workspace/src/pages/appShell/appShellPages/applications/OverviewTabs/APIKeyTab.tsx index 1e947a79eb..dd9f7ec74a 100644 --- a/portals/ai-workspace/src/pages/appShell/appShellPages/applications/OverviewTabs/APIKeyTab.tsx +++ b/portals/ai-workspace/src/pages/appShell/appShellPages/applications/OverviewTabs/APIKeyTab.tsx @@ -90,7 +90,7 @@ function resolveMappedKeyId(key: MappedAPIKey): string { function formatAssociatedEntityKind(kind?: string): string { if (!kind) return '—'; - if (kind === 'LlmProvider') return 'LLM Provider'; + if (kind === 'LlmProvider') return 'AI Provider'; if (kind === 'LlmProxy') return 'App LLM Proxy'; return kind; } diff --git a/portals/ai-workspace/src/pages/appShell/appShellPages/applications/OverviewTabs/AssociationsTab.tsx b/portals/ai-workspace/src/pages/appShell/appShellPages/applications/OverviewTabs/AssociationsTab.tsx index 6ccc478ce7..32c57cf630 100644 --- a/portals/ai-workspace/src/pages/appShell/appShellPages/applications/OverviewTabs/AssociationsTab.tsx +++ b/portals/ai-workspace/src/pages/appShell/appShellPages/applications/OverviewTabs/AssociationsTab.tsx @@ -815,7 +815,7 @@ export default function AssociationsTab() { try { await loadOrganizationProviders(); } catch { - setProviderDrawerLoadError('Failed to load LLM providers.'); + setProviderDrawerLoadError('Failed to load AI providers.'); } finally { setIsProviderDrawerLoading(false); } @@ -919,13 +919,13 @@ export default function AssociationsTab() { const keyCount = linkedProviderKeyPayload.length; showSnackbar( providerCount > 0 && keyCount > 0 - ? `${providerCount} LLM provider${ + ? `${providerCount} AI provider${ providerCount > 1 ? 's' : '' } associated and ${keyCount} API key${ keyCount > 1 ? 's' : '' } added successfully.` : providerCount > 0 - ? `${providerCount} LLM provider${ + ? `${providerCount} AI provider${ providerCount > 1 ? 's' : '' } associated successfully.` : `${keyCount} API key${keyCount > 1 ? 's' : ''} added successfully.`, @@ -1120,7 +1120,7 @@ export default function AssociationsTab() { }); const label = - deleteTarget.kind === 'LlmProvider' ? 'LLM provider' : 'LLM proxy'; + deleteTarget.kind === 'LlmProvider' ? 'AI provider' : 'LLM proxy'; setDeleteTarget(null); showSnackbar(`${label} association removed successfully.`, 'success'); } catch (error) { @@ -1417,7 +1417,7 @@ export default function AssociationsTab() { Remove{' '} - {deleteTarget?.kind === 'LlmProvider' ? 'LLM Provider' : 'LLM Proxy'}{' '} + {deleteTarget?.kind === 'LlmProvider' ? 'AI Provider' : 'LLM Proxy'}{' '} association diff --git a/portals/ai-workspace/src/pages/appShell/appShellPages/applications/OverviewTabs/AssociationsTable.tsx b/portals/ai-workspace/src/pages/appShell/appShellPages/applications/OverviewTabs/AssociationsTable.tsx index d65482c49a..343b25a1e3 100644 --- a/portals/ai-workspace/src/pages/appShell/appShellPages/applications/OverviewTabs/AssociationsTable.tsx +++ b/portals/ai-workspace/src/pages/appShell/appShellPages/applications/OverviewTabs/AssociationsTable.tsx @@ -101,7 +101,7 @@ function renderPrimaryActions( startIcon={} onClick={() => void onOpenProviderDrawer()} > - Add LLM Provider + Add AI Provider