refactor: remove link and unlink (#233)
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user