We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb15d64 commit 77f363cCopy full SHA for 77f363c
tools/server/public/index.html.gz
17 Bytes
tools/server/webui/src/components/ChatMessage.tsx
@@ -61,8 +61,9 @@ export default function ChatMessage({
61
if (msg.content === null || msg.role !== 'assistant') {
62
return { content: msg.content };
63
}
64
- const REGEX_THINK_OPEN = /<think>|<\|channel\|>analysis<\|message\|>/;
65
- const REGEX_THINK_CLOSE = /<\/think>|<\|end\|>/;
+ const REGEX_THINK_OPEN =
+ /<think>|<seed:think>|<\|channel\|>analysis<\|message\|>/;
66
+ const REGEX_THINK_CLOSE = /<\/think>|<\/seed:think>|<\|end\|>/;
67
let actualContent = '';
68
let thought = '';
69
let isThinking = false;
0 commit comments