Download src/lib/components/chat/Messages/Error.svelte from ancoai/open-ui: direct link, hf CLI and curl.
- Browser
- Download file 427 Bytes
-
https://huggingface.co/spaces/ancoai/open-ui/resolve/main/src/lib/components/chat/Messages/Error.svelte
- Command line
-
hf download hf://spaces/ancoai/open-ui/src/lib/components/chat/Messages/Error.svelte
-
curl -L -o Error.svelte https://huggingface.co/spaces/ancoai/open-ui/resolve/main/src/lib/components/chat/Messages/Error.svelte
427 Bytes
| <script lang="ts"> | |
| import Info from '$lib/components/icons/Info.svelte'; | |
| export let content = ''; | |
| </script> | |
| <div class="flex my-2 gap-2.5 border px-4 py-3 border-red-600/10 bg-red-600/10 rounded-lg"> | |
| <div class=" self-start mt-0.5"> | |
| <Info className="size-5 text-red-700 dark:text-red-400" /> | |
| </div> | |
| <div class=" self-center text-sm"> | |
| {typeof content === 'string' ? content : JSON.stringify(content)} | |
| </div> | |
| </div> | |