mirror of
https://github.com/open-webui/open-webui.git
synced 2026-10-02 02:12:25 +00:00
fix: stop the model editor's Builtin Tools section from reading its labels before they exist (#30153)
This commit is contained in:
parent
4d01f1ebed
commit
677341578d
1 changed files with 1 additions and 1 deletions
|
|
@ -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> = {};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue