refactor: remove link and unlink (#233)

This commit is contained in:
Kian Jones
2025-12-16 12:27:53 -05:00
committed by GitHub
parent 0630ac4508
commit d67b570569
6 changed files with 39 additions and 123 deletions

View File

@@ -8,7 +8,8 @@ type ToolsetId =
| "codex_snake"
| "default"
| "gemini"
| "gemini_snake";
| "gemini_snake"
| "none";
interface ToolsetOption {
id: ToolsetId;
@@ -99,6 +100,13 @@ const toolsets: ToolsetOption[] = [
"read_many_files",
],
},
{
id: "none",
label: "None (Disable Tools)",
description: "Remove all Letta Code tools from the agent",
tools: [],
isFeatured: true,
},
];
interface ToolsetSelectorProps {

View File

@@ -48,8 +48,7 @@ function getAuthMethod(): "url" | "api-key" | "oauth" {
type LoadingState =
| "assembling"
| "upserting"
| "linking"
| "unlinking"
| "updating_tools"
| "importing"
| "initializing"
| "checking"
@@ -207,10 +206,8 @@ function getLoadingMessage(
return "Assembling tools...";
case "upserting":
return "Upserting tools...";
case "linking":
return "Attaching tools...";
case "unlinking":
return "Removing tools...";
case "updating_tools":
return "Updating tools...";
case "importing":
return "Importing agent...";
case "checking":