mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2025-08-05 00:25:26 -04:00
server : (webui) fix numeric settings being saved as string (#11739)
* server : (webui) fix numeric settings being saved as string * add some more comments
This commit is contained in:
@@ -23,6 +23,7 @@ export default function MarkdownDisplay({ content }: { content: string }) {
|
||||
button: (props) => (
|
||||
<CopyCodeButton {...props} origContent={preprocessedContent} />
|
||||
),
|
||||
// note: do not use "pre", "p" or other basic html elements here, it will cause the node to re-render when the message is being generated (this should be a bug with react-markdown, not sure how to fix it)
|
||||
}}
|
||||
>
|
||||
{preprocessedContent}
|
||||
|
Reference in New Issue
Block a user