diff --git a/core/config/profile/doLoadConfig.ts b/core/config/profile/doLoadConfig.ts
index 33bdf9b6c..3429f2be4 100644
--- a/core/config/profile/doLoadConfig.ts
+++ b/core/config/profile/doLoadConfig.ts
@@ -230,6 +230,7 @@ export default async function doLoadConfig(
newConfig,
controlPlaneProxyInfo,
);
+ debugger;
return { config: newConfig, errors, configLoadInterrupted: false };
}
diff --git a/core/llm/llm.test.ts b/core/llm/llm.test.ts
index ff897d5a3..efd98ae00 100644
--- a/core/llm/llm.test.ts
+++ b/core/llm/llm.test.ts
@@ -142,6 +142,7 @@ function testLLM(
type: "function",
wouldLikeTo: "Say hello",
readonly: true,
+ group: "Hello",
},
],
toolChoice: {
diff --git a/gui/src/components/mainInput/InputToolbar/ToolDropdownItem.tsx b/gui/src/components/mainInput/InputToolbar/ToolDropdownItem.tsx
index c75ea5847..26a681c75 100644
--- a/gui/src/components/mainInput/InputToolbar/ToolDropdownItem.tsx
+++ b/gui/src/components/mainInput/InputToolbar/ToolDropdownItem.tsx
@@ -29,7 +29,7 @@ function ToolDropdownItem(props: ToolDropdownItemProps) {
return (
{
dispatch(toggleToolSetting(props.tool.function.name));
e.stopPropagation();
@@ -69,7 +69,7 @@ function ToolDropdownItem(props: ToolDropdownItemProps) {
className="h-4 w-4"
/>
)}
- {props.tool.displayTitle}{" "}
+ {props.tool.function.name}{" "}
diff --git a/gui/src/components/mainInput/InputToolbar/ToolPermissionsDialog.tsx b/gui/src/components/mainInput/InputToolbar/ToolPermissionsDialog.tsx
index e8ca63718..6c0153dbe 100644
--- a/gui/src/components/mainInput/InputToolbar/ToolPermissionsDialog.tsx
+++ b/gui/src/components/mainInput/InputToolbar/ToolPermissionsDialog.tsx
@@ -1,3 +1,4 @@
+import { Tool } from "core";
import { useMemo } from "react";
import { useAppSelector } from "../../../redux/hooks";
import InfoHover from "../../InfoHover";
@@ -6,6 +7,17 @@ import ToolDropdownItem from "./ToolDropdownItem";
const ToolPermissionsDialog = () => {
const availableTools = useAppSelector((state) => state.config.config.tools);
+ const toolsByGroup = useMemo(() => {
+ const byGroup: Record = {};
+ for (const tool of availableTools) {
+ if (!byGroup[tool.group]) {
+ byGroup[tool.group] = [];
+ }
+ byGroup[tool.group].push(tool);
+ }
+ return Object.entries(byGroup);
+ }, [availableTools]);
+
// Detect duplicate tool names
const duplicateDetection = useMemo(() => {
const counts: Record = {};
@@ -48,13 +60,18 @@ const ToolPermissionsDialog = () => {
}
/>
-
- {availableTools.map((tool) => (
-
+
+ {toolsByGroup.map(([groupName, tools]) => (
+
+
{groupName}
+ {tools.map((tool) => (
+
+ ))}
+
))}
diff --git a/gui/src/pages/More/MCPServersPreview.tsx b/gui/src/pages/More/MCPServersPreview.tsx
index ac380e099..3d12a8f81 100644
--- a/gui/src/pages/More/MCPServersPreview.tsx
+++ b/gui/src/pages/More/MCPServersPreview.tsx
@@ -47,7 +47,7 @@ function MCPServerPreview({ server }: MCPServerStatusProps) {
return (
-
{server.name}
+
{server.name}
{server.status === "not-connected" ? (