Skip to content
Merged
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
1 change: 0 additions & 1 deletion web/packages/studio/src/constants/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ export const ROUTES = {
/** Detail view for a single agent-evaluation job. */
agentEvaluationDetail: `/workspaces/:${P.workspace}/agents/evaluations/:${P.agentEvalJobName}`,
modelCompare: `/workspaces/:${P.workspace}/playground`,
agentOptimizations: `/workspaces/:${P.workspace}/agents/suggestions`,
agentMonitor: `/workspaces/:${P.workspace}/agents/monitor`,
},
models: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ describe('getStudioUiNavigationSuggestion', () => {

it('keeps navigation shortcuts when prompts include Studio product context', () => {
const cases = [
{
prompt: 'Review model sizing for an agent',
id: 'agent-optimizations',
},
{
prompt: 'Show agent token usage',
id: 'agent-monitor',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import type { FeatureFlags } from '@studio/constants/featureFlags/featureFlags';
import {
getAgentEvaluationsListRoute,
getAgentMonitorRoute,
getAgentOptimizationsRoute,
getAgentsListRoute,
getDataDesignerJobListRoute,
getEvaluationResultsRoute,
Expand Down Expand Up @@ -73,20 +72,6 @@ const STUDIO_UI_DESTINATIONS: readonly StudioUiDestination[] = [
/\b(agent|agents).*\b(eval|evaluation|evaluations) jobs?\b/i,
],
},
{
id: 'agent-optimizations',
title: 'Open Agent Suggestions',
description: 'Studio has a UI for generating optimization suggestions for deployed agents.',
getHref: getAgentOptimizationsRoute,
requiredFeatureFlags: ['agentsEnabled'],
patterns: [
/\boptimi[sz]e (an? )?agent\b/i,
/\b(agent|agents).*\b(cheaper|faster|smaller|right[-\s]?size)\b/i,
/\b(agent|agents).*\bmodel sizing\b/i,
/\bmodel sizing (for|on|of) (an? )?agent\b/i,
/\bsuggestions? for (an? )?agent\b/i,
],
},
{
id: 'agent-monitor',
title: 'Open Agent Monitor',
Expand Down
4 changes: 0 additions & 4 deletions web/packages/studio/src/routes/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -529,10 +529,6 @@ export const getAgentDeploymentDetailRoute = (workspace: string, agentDeployment
});
};

export const getAgentOptimizationsRoute = (workspace: string) => {
return generatePath(ROUTES.workspace.agentOptimizations, { workspace });
};

export const getAgentMonitorRoute = (workspace: string) => {
return generatePath(ROUTES.workspace.agentMonitor, { workspace });
};
Expand Down
Loading