diff --git a/src/lib/components/chat/Messages/ResponseMessage.svelte b/src/lib/components/chat/Messages/ResponseMessage.svelte index 1360a5c9..581259c8 100644 --- a/src/lib/components/chat/Messages/ResponseMessage.svelte +++ b/src/lib/components/chat/Messages/ResponseMessage.svelte @@ -81,7 +81,9 @@ }
prompt_token/s: ${ 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' } tokens
total_duration: ${ @@ -115,9 +117,10 @@ // • auto-render specific keys, e.g.: delimiters: [ { 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 } ], // • rendering keys, e.g.: throwOnError: false