Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
7068ea92
Unverified
Commit
7068ea92
authored
May 19, 2024
by
Timothy Jaeryang Baek
Committed by
GitHub
May 19, 2024
Browse files
Merge pull request #2397 from open-webui/dev
refac
parents
66c2024d
b088b065
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/lib/components/chat/Messages/CodeBlock.svelte
src/lib/components/chat/Messages/CodeBlock.svelte
+1
-1
No files found.
src/lib/components/chat/Messages/CodeBlock.svelte
View file @
7068ea92
...
@@ -213,7 +213,7 @@ __builtins__.input = input`);
...
@@ -213,7 +213,7 @@ __builtins__.input = input`);
<div class="p-1">{@html lang}</div>
<div class="p-1">{@html lang}</div>
<div class="flex items-center">
<div class="flex items-center">
{#if
['',
'python'
].includes(lang) &&
(lang === '
python' ||
checkPythonCode(code))}
{#if
lang ===
'python'
||
(lang === '
' &&
checkPythonCode(code))}
{#if executing}
{#if executing}
<div class="copy-code-button bg-none border-none p-1 cursor-not-allowed">Running</div>
<div class="copy-code-button bg-none border-none p-1 cursor-not-allowed">Running</div>
{:else}
{:else}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment