fix: stop the model editor's Builtin Tools section from reading its labels before they exist (#30153)

This commit is contained in:
G30 authored and GitHub committed 2026-09-18 19:29:41 -04:00
1 parent 4d01f1ebed
commit 677341578d
1 file changed
+1 -1
@@ -76,7 +76,7 @@
}
};
const allTools = Object.keys(toolLabels) as Array<keyof typeof toolLabels>;
$: allTools = Object.keys(toolLabels ?? {}) as Array<keyof typeof toolLabels>;
export let builtinTools: Record<string, boolean> = {};