Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ describe('AI Workspace - OpenAI provider and proxy lifecycle', () => {
);
cy.contains(providerName, { timeout: 30000 }).should('be.visible');

cy.contains('button', 'Create App LLM Proxy', { timeout: 30000 })
cy.contains('button', 'Create App AI Proxy', { timeout: 30000 })
.should('be.visible')
.click();

Expand All @@ -173,7 +173,7 @@ describe('AI Workspace - OpenAI provider and proxy lifecycle', () => {
.should('not.be.disabled')
.click();

cy.contains('Create App LLM Proxy', { timeout: 30000 }).should(
cy.contains('Create App AI Proxy', { timeout: 30000 }).should(
'be.visible'
);
cy.get('input[placeholder="WSO2 OpenAI Provider Proxy"]', {
Expand All @@ -196,7 +196,7 @@ describe('AI Workspace - OpenAI provider and proxy lifecycle', () => {
cy.get('button[aria-label="Delete proxy"]', { timeout: 30000 })
.should('be.visible')
.click();
cy.contains('Delete App LLM Proxy', { timeout: 30000 }).should('be.visible');
cy.contains('Delete App AI Proxy', { timeout: 30000 }).should('be.visible');
cy.get('[role="dialog"]').within(() => {
cy.contains('button', 'Delete').click();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,11 +106,11 @@ function createProviderViaUI(providerName) {
}

function navigateToCreateProxy(projectName) {
cy.contains('button', 'Create App LLM Proxy', { timeout: 30000 }).should('be.visible').click();
cy.contains('button', 'Create App AI Proxy', { timeout: 30000 }).should('be.visible').click();
cy.contains('label', 'Projects', { timeout: 30000 }).parent().find('[role="combobox"]').click();
cy.contains('[role="option"]', projectName, { timeout: 15000 }).click();
cy.contains('button', 'Continue').should('not.be.disabled').click();
cy.contains('Create App LLM Proxy', { timeout: 30000 }).should('be.visible');
cy.contains('Create App AI Proxy', { timeout: 30000 }).should('be.visible');
}

// ---------------------------------------------------------------------------
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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,
})
Expand Down Expand Up @@ -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');
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)"
/>

<Box sx={{ mt: 'auto', display: 'flex', gap: 2, pt: 2 }}>
Expand Down
4 changes: 2 additions & 2 deletions portals/ai-workspace/src/pages/appShell/AppSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ export default function AppSidebar({
<Sidebar.ItemIcon>
<Handshake size={20} />
</Sidebar.ItemIcon>
<Sidebar.ItemLabel>LLM Providers</Sidebar.ItemLabel>
<Sidebar.ItemLabel>AI Providers</Sidebar.ItemLabel>
</Sidebar.Item>
</NavLink>
)}
Expand All @@ -236,7 +236,7 @@ export default function AppSidebar({
<Sidebar.ItemIcon>
<Workflow size={20} />
</Sidebar.ItemIcon>
<Sidebar.ItemLabel>App LLM Proxies</Sidebar.ItemLabel>
<Sidebar.ItemLabel>App AI Proxies</Sidebar.ItemLabel>
</Sidebar.Item>
</NavLink>
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
</Typography>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ function resolveMappedKeyId(key: MappedAPIKey): string {

function formatAssociatedEntityKind(kind?: string): string {
if (!kind) return '—';
if (kind === 'LlmProvider') return 'LLM Provider';
if (kind === 'LlmProxy') return 'App LLM Proxy';
if (kind === 'LlmProvider') return 'AI Provider';
if (kind === 'LlmProxy') return 'App AI Proxy';
return kind;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down Expand Up @@ -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.`,
Expand Down Expand Up @@ -964,7 +964,7 @@ export default function AssociationsTab() {
try {
await loadOrganizationProxies();
} catch {
setProxyDrawerLoadError('Failed to load LLM proxies.');
setProxyDrawerLoadError('Failed to load AI proxies.');
} finally {
setIsProxyDrawerLoading(false);
}
Expand Down Expand Up @@ -1068,13 +1068,13 @@ export default function AssociationsTab() {
const keyCount = linkedProxyKeyPayload.length;
showSnackbar(
proxyCount > 0 && keyCount > 0
? `${proxyCount} LLM proxy${
? `${proxyCount} AI proxy${
proxyCount > 1 ? 's' : ''
} associated and ${keyCount} API key${
keyCount > 1 ? 's' : ''
} added successfully.`
: proxyCount > 0
? `${proxyCount} LLM proxy${
? `${proxyCount} AI proxy${
proxyCount > 1 ? 's' : ''
} associated successfully.`
: `${keyCount} API key${keyCount > 1 ? 's' : ''} added successfully.`,
Expand Down Expand Up @@ -1120,7 +1120,7 @@ export default function AssociationsTab() {
});

const label =
deleteTarget.kind === 'LlmProvider' ? 'LLM provider' : 'LLM proxy';
deleteTarget.kind === 'LlmProvider' ? 'AI provider' : 'AI proxy';
setDeleteTarget(null);
showSnackbar(`${label} association removed successfully.`, 'success');
} catch (error) {
Expand Down Expand Up @@ -1311,7 +1311,7 @@ export default function AssociationsTab() {
selectedCount: selectedProxyIds.size,
pendingKeyCount: linkedProxyKeyPayload.length,
entityLabel: 'Proxy',
defaultLabel: 'Add LLM Proxy',
defaultLabel: 'Add AI Proxy',
});

const managedIsProvider = manageKeysDrawerTarget?.kind === 'LlmProvider';
Expand Down Expand Up @@ -1417,7 +1417,7 @@ export default function AssociationsTab() {

<AssociationSelectionDrawer
open={providerDrawerOpen}
title="Add LLM Providers"
title="Add AI Providers"
description="Select providers and their API keys to associate with this application."
searchPlaceholder="Search providers..."
searchValue={providerDrawerSearch}
Expand All @@ -1427,7 +1427,7 @@ export default function AssociationsTab() {
isLoading={isProviderDrawerLoading}
loadError={providerDrawerLoadError}
items={filteredOrgProviders}
emptyStateText="No LLM providers found in this organization."
emptyStateText="No AI providers found in this organization."
emptySearchText="No providers match your search."
linkedIds={linkedProviderIds}
selectedIds={selectedProviderIds}
Expand Down Expand Up @@ -1486,7 +1486,7 @@ export default function AssociationsTab() {

<AssociationSelectionDrawer
open={proxyDrawerOpen}
title="Add LLM Proxies"
title="Add AI Proxies"
description="Select proxies and their API keys to associate with this application."
searchPlaceholder="Search proxies..."
searchValue={proxyDrawerSearch}
Expand All @@ -1496,7 +1496,7 @@ export default function AssociationsTab() {
isLoading={isProxyDrawerLoading}
loadError={proxyDrawerLoadError}
items={filteredOrgProxies}
emptyStateText="No LLM proxies found in this organization."
emptyStateText="No AI proxies found in this organization."
emptySearchText="No proxies match your search."
linkedIds={linkedProxyIds}
selectedIds={selectedProxyIds}
Expand Down Expand Up @@ -1766,7 +1766,7 @@ export default function AssociationsTab() {
>
<DialogTitle>
Remove{' '}
{deleteTarget?.kind === 'LlmProvider' ? 'LLM Provider' : 'LLM Proxy'}{' '}
{deleteTarget?.kind === 'LlmProvider' ? 'AI Provider' : 'AI Proxy'}{' '}
association
</DialogTitle>
<DialogContent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@ function renderPrimaryActions(
startIcon={<Plus size={16} />}
onClick={() => void onOpenProviderDrawer()}
>
Add LLM Provider
Add AI Provider
</Button>
<Button
variant="contained"
size="small"
startIcon={<Plus size={16} />}
onClick={() => void onOpenProxyDrawer()}
>
Add LLM Proxy
Add AI Proxy
</Button>
</Stack>
);
Expand Down Expand Up @@ -273,8 +273,8 @@ export default function AssociationsTable({
<Chip
label={
association.kind === 'LlmProvider'
? 'LLM Provider'
: 'LLM Proxy'
? 'AI Provider'
: 'AI Proxy'
}
size="small"
variant="outlined"
Expand Down Expand Up @@ -466,7 +466,7 @@ export default function AssociationsTable({
description={
showNoSearchResults
? 'No associations match your search.'
: 'Associate LLM providers and proxies to enable AI capabilities for this application.'
: 'Associate AI providers and proxies to enable AI capabilities for this application.'
}
action={
showNoSearchResults ? (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,40 +51,40 @@ export default function ExploreMoreCard() {
],
},
{
title: 'LLM Provider Integration',
title: 'AI Provider Integration',
subtitle:
'Connect, configure, and maintain model providers for your workspace.',
icon: Server,
links: [
{
label: 'LLM Providers Overview',
label: 'AI Providers Overview',
href: 'https://wso2.com/bijira/docs/ai-workspace/llm-providers/overview/',
},
{
label: 'Configure a New LLM Provider',
label: 'Configure a New AI Provider',
href: 'https://wso2.com/bijira/docs/ai-workspace/llm-providers/configure-provider/',
},
{
label: 'Manage Existing LLM Providers',
label: 'Manage Existing AI Providers',
href: 'https://wso2.com/bijira/docs/ai-workspace/llm-providers/manage-provider/',
},
],
},
{
title: 'App LLM Proxy Management',
subtitle: 'Create and operate App LLM Proxies for secure and governed access.',
title: 'App AI Proxy Management',
subtitle: 'Create and operate App AI Proxies for secure and governed access.',
icon: Network,
links: [
{
label: 'App LLM Proxies Overview',
label: 'App AI Proxies Overview',
href: 'https://wso2.com/bijira/docs/ai-workspace/llm-proxies/overview/',
},
{
label: 'Create a New App LLM Proxy',
label: 'Create a New App AI Proxy',
href: 'https://wso2.com/api-platform/docs/ai-workspace/llm-proxies/configure-proxy/',
},
{
label: 'Manage Existing App LLM Proxies',
label: 'Manage Existing App AI Proxies',
href: 'https://wso2.com/bijira/docs/ai-workspace/llm-proxies/manage-proxy/',
},
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,21 +326,21 @@ export default function ProxyQuickStartBanner() {
() => [
{
id: 'create-proxy',
title: 'Create\nApp LLM Proxy',
title: 'Create\nApp AI Proxy',
icon: Plus,
path: createProxyPath,
completed: completion.hasProxies,
},
{
id: 'deploy-proxy',
title: 'Deploy\nApp LLM Proxy',
title: 'Deploy\nApp AI Proxy',
icon: Rocket,
path: deployProxyPath,
completed: completion.hasProxyDeployments,
},
{
id: 'consume-proxy',
title: 'Consume\nApp LLM Proxy',
title: 'Consume\nApp AI Proxy',
icon: Package,
path: consumeProxyPath,
completed: completion.hasProxyConsumptions,
Expand Down Expand Up @@ -458,7 +458,7 @@ export default function ProxyQuickStartBanner() {
fontSize: 24,
}}
>
Expose your 1st App LLM Proxy
Expose your 1st App AI Proxy
</Typography>
</Box>

Expand All @@ -467,7 +467,7 @@ export default function ProxyQuickStartBanner() {
severity="warning"
sx={{ fontSize: 14, maxWidth: 'fit-content' }}
>
You need one or more Gateways and LLM Providers please contact
You need one or more Gateways and AI Providers please contact
Organization admin.
</Alert>
) : (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ export default function CreateProviderTemplate() {
<PageTitle.Header>
<FormattedMessage
id="aiWorkspace.pages.appShell.appShellPages.providerTemplate.CreateProviderTemplate.title"
defaultMessage={'Add LLM Provider Template'}
defaultMessage={'Add AI Provider Template'}
/>
</PageTitle.Header>
</PageTitle>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function EditProviderTemplateForm({ template }: { template: ProviderTemplate })
<PageTitle.Header>
<FormattedMessage
id="aiWorkspace.pages.appShell.appShellPages.providerTemplate.EditProviderTemplate.title"
defaultMessage={'Edit LLM Provider Template'}
defaultMessage={'Edit AI Provider Template'}
/>
</PageTitle.Header>
</PageTitle>
Expand Down
Loading
Loading