mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-27 15:49:23 -05:00
refac: include black
This commit is contained in:
1 parent
cffbc3558e
commit
8507e5eb0d
4 files changed
+5102
-10
No files matched your search
@@ -179,11 +179,11 @@ class Tools:
|
||||
content = _content;
|
||||
await tick();
|
||||
|
||||
if (res) {
|
||||
console.log('Code formatted successfully');
|
||||
|
||||
saveHandler();
|
||||
if (!res) {
|
||||
console.warn('Code formatting failed or was skipped, saving unformatted code');
|
||||
}
|
||||
|
||||
saveHandler();
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in new issue
Block a user