x
This commit is contained in:
1 parent
ce6fa69b09
commit
716bb98b50
4 files changed
+11
-8
No files matched your search
@@ -253,7 +253,7 @@ export const SECTION_TOOL_DEFINITIONS = [
|
||||
}
|
||||
] as const;
|
||||
|
||||
export const SECTION_TOOL_NAMES = new Set(SECTION_TOOL_DEFINITIONS.map((tool) => tool.name));
|
||||
export const SECTION_TOOL_NAMES = new Set<string>(SECTION_TOOL_DEFINITIONS.map((tool) => tool.name));
|
||||
|
||||
export async function handleSectionTool(api: AxiosInstance, name: string, params: any) {
|
||||
if (!SECTION_TOOL_NAMES.has(name)) return null;
|
||||
|
||||
Reference in new issue
Block a user