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
Binary file added wavefront/client/public/wavefront.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 4 additions & 8 deletions wavefront/client/src/components/topbar/Topbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,17 +42,13 @@ const Topbar = ({ user, apps = [] }: { user: IUser; apps: App[] }) => {
return (
<div className="flex h-20 justify-between border-b">
<a className="flex min-w-[240px] cursor-pointer justify-center border-r px-8 py-5" onClick={handleNavIconClick}>
<RootfloIcon />
<img src="/wavefront.png" alt="Rootflo Icon" className="object-contain" width={149} />
</a>

<div className="flex w-full justify-between px-8 py-5">
<div id="left_part" className="flex items-center justify-center gap-3">
<p className="text-[16.33px] font-bold text-black">AI Middleware</p>
{/* <p>|</p> */}
{/* <div className="flex items-center justify-center gap-1">
<p className="text-[13px] font-normal">Powered by </p>
<RootfloIcon />
</div> */}
<div id="left_part" className="flex items-center justify-center gap-1">
<p className="text-[10px] text-black/80">POWERED BY</p>
<RootfloIcon height={16} width={42} />
</div>
<div id="right_part" className="flex items-center justify-center gap-3">
{apps && (
Expand Down
9 changes: 1 addition & 8 deletions wavefront/client/src/pages/apps/[appId]/agents/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,18 +104,11 @@ const AgentDetail: React.FC = () => {
[key]: value !== undefined ? value : `<${key}>`,
};
});
// Create display name with all prefilled values (only values, not keys)
const prefilledValuesString = prefillValues
.filter((key) => tool.prefilled_value?.[key])
.map((key) => tool.prefilled_value?.[key]) // Only show the value, not the key
.join(', ');

return {
name: tool.name,
prefilled_values: prefilledValue,
display_name: `${tool.resource_name ? tool.resource_name + ' - ' : ''}${
tool.name
}${prefilledValuesString ? ` (${prefilledValuesString})` : ''}`,
display_name: `${tool.resource_name ? tool.resource_name + ' - ' : ''}${tool.name}`,
description: tool.description,
};
});
Expand Down
13 changes: 11 additions & 2 deletions wavefront/client/src/pages/apps/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { Outlet, useLocation, useNavigate, useParams } from 'react-router';

const navItems = [
{
id: 'agents',
name: 'Agents',
icon: AiAgentIcon,
link: `/apps/:appId/agents`,
Expand All @@ -28,42 +29,49 @@ const navItems = [
// description: 'Manage authentication provider configurations',
// },
{
id: 'datasources',
name: 'Datasources',
icon: DatasourcesIcon,
link: `/apps/:appId/datasources`,
description: 'Manage and configure data sources for this application',
},
{
id: 'functions',
name: 'Functions',
icon: WorkflowIcon,
link: `/apps/:appId/functions`,
description: 'Create, manage, and execute functions',
},
{
id: 'llm-repository',
name: 'LLM Repository',
icon: ModelRepositoryIcon,
link: `/apps/:appId/llm-repository`,
description: 'Manage and configure LLMs for your application',
},
{
id: 'model-inference',
name: 'Model Inference',
icon: ModelInferenceIcon,
link: `/apps/:appId/model-inference`,
description: 'Manage and configure model inference for this application',
},
{
id: 'knowledge-bases',
name: 'RAG Service',
icon: RagIcon,
link: `/apps/:appId/knowledge-bases`,
description: 'Manage and configure knowledge bases for this application',
},
{
id: 'voice-agents',
name: 'Voice Agents',
icon: PhoneIcon,
link: `/apps/:appId/voice-agents`,
description: 'Manage AI voice agents with LLM, TTS, STT, and telephony',
},
{
id: 'workflows',
name: 'Workflows',
icon: WorkflowIcon,
link: `/apps/:appId/workflows`,
Expand All @@ -80,6 +88,7 @@ const navItems = [
let finalNavItems = navItems;
if (appEnv.isApiServicesEnabled) {
const apiServiceNavItem = {
id: 'api-services',
name: 'API Services',
icon: ApiIcon,
link: `/apps/:appId/api-services`,
Expand All @@ -98,10 +107,10 @@ const AppLayout: React.FC = () => {
<div className="flex h-full w-full overflow-auto">
<div className="flex h-full w-[240px] flex-col gap-3 border-r border-gray-200 p-5">
{finalNavItems.map((item) => {
const isActive = location.pathname.includes(item.link.split('/')[3]);
const isActive = item.id === location.pathname.split('/')[3];
return (
<div
key={item.name}
key={item.id}
className={clsx(
'cursor-pointer rounded-lg border-[0.5px] border-[#EFF0F1] p-3',
isActive && 'bg-[#FBFBFB]'
Expand Down