mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 03:17:46 +01:00
fix
This commit is contained in:
@@ -21,6 +21,16 @@
|
||||
export let tools = {};
|
||||
export let onClose: Function;
|
||||
|
||||
$: tools = Object.fromEntries(
|
||||
Object.keys(tools).map((toolId) => [
|
||||
toolId,
|
||||
{
|
||||
...tools[toolId],
|
||||
enabled: selectedToolIds.includes(toolId)
|
||||
}
|
||||
])
|
||||
);
|
||||
|
||||
let show = false;
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user