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
553dcd20
"...en/git@developer.sourcefind.cn:chenpangpang/diffusers.git" did not exist on "926daa30f977a75c01b835405c1878730388cb94"
Commit
553dcd20
authored
Jul 15, 2024
by
Timothy J. Baek
Browse files
refac
parent
6d0e4852
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
src/lib/components/chat/Messages/CitationsModal.svelte
src/lib/components/chat/Messages/CitationsModal.svelte
+3
-1
No files found.
src/lib/components/chat/Messages/CitationsModal.svelte
View file @
553dcd20
...
@@ -59,7 +59,9 @@
...
@@ -59,7 +59,9 @@
<a
<a
href={document?.metadata?.file_id
href={document?.metadata?.file_id
? `/api/v1/files/${document?.metadata?.file_id}/content`
? `/api/v1/files/${document?.metadata?.file_id}/content`
: document.source.name}
: document.source.name.includes('http')
? document.source.name
: `#`}
target="_blank"
target="_blank"
>
>
{document?.metadata?.name ?? document.source.name}
{document?.metadata?.name ?? document.source.name}
...
...
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