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
93085998
Commit
93085998
authored
Feb 21, 2024
by
Timothy J. Baek
Browse files
fix: latex delimiters
parent
a70192ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
src/lib/components/chat/Messages/ResponseMessage.svelte
src/lib/components/chat/Messages/ResponseMessage.svelte
+6
-3
No files found.
src/lib/components/chat/Messages/ResponseMessage.svelte
View file @
93085998
...
@@ -81,7 +81,9 @@
...
@@ -81,7 +81,9 @@
}<br/>
}<br/>
prompt_token/s: ${
prompt_token/s: ${
Math.round(
Math.round(
((message.info.prompt_eval_count ?? 0) / (message.info.prompt_eval_duration / 1000000000)) * 100
((message.info.prompt_eval_count ?? 0) /
(message.info.prompt_eval_duration / 1000000000)) *
100
) / 100 ?? 'N/A'
) / 100 ?? 'N/A'
} tokens<br/>
} tokens<br/>
total_duration: ${
total_duration: ${
...
@@ -115,9 +117,10 @@
...
@@ -115,9 +117,10 @@
// • auto-render specific keys, e.g.:
// • auto-render specific keys, e.g.:
delimiters: [
delimiters: [
{ left: '$$', right: '$$', display: true },
{ left: '$$', right: '$$', display: true },
//
{ left: '$', right: '$', display: false },
{ left: '$', right: '$', display: false },
{ left: '\\(', right: '\\)', display: true },
{ left: '\\(', right: '\\)', display: true },
{ left: '\\[', right: '\\]', display: true }
{ left: '\\[', right: '\\]', display: true },
{ left: '[', right: ']', display: true }
],
],
// • rendering keys, e.g.:
// • rendering keys, e.g.:
throwOnError: false
throwOnError: false
...
...
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