mirror of
https://github.com/open-webui/open-webui
synced 2025-02-06 21:19:57 +00:00
fix
This commit is contained in:
parent
345b3491a7
commit
9fb30d4787
@ -10,11 +10,12 @@
|
|||||||
import { python } from '@codemirror/lang-python';
|
import { python } from '@codemirror/lang-python';
|
||||||
import { oneDark } from '@codemirror/theme-one-dark';
|
import { oneDark } from '@codemirror/theme-one-dark';
|
||||||
|
|
||||||
import { onMount, createEventDispatcher } from 'svelte';
|
import { onMount, createEventDispatcher, getContext } from 'svelte';
|
||||||
import { formatPythonCode } from '$lib/apis/utils';
|
import { formatPythonCode } from '$lib/apis/utils';
|
||||||
import { toast } from 'svelte-sonner';
|
import { toast } from 'svelte-sonner';
|
||||||
|
|
||||||
const dispatch = createEventDispatcher();
|
const dispatch = createEventDispatcher();
|
||||||
|
const $i18n = getContext('i18n');
|
||||||
|
|
||||||
export let boilerplate = '';
|
export let boilerplate = '';
|
||||||
export let value = '';
|
export let value = '';
|
||||||
|
Loading…
Reference in New Issue
Block a user