mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-28 02:07:05 -04:00
fix: stop the model editor's Builtin Tools section from reading its labels before they exist (#30153)
This commit is contained in:
@@ -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> = {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user