Skip to content

Commit 44770b9

Browse files
committed
update end tag for gpt-oss in webui
1 parent 17cdb24 commit 44770b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/server/webui/src/components/ChatMessage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default function ChatMessage({
6363
}
6464
const REGEX_THINK_OPEN = /<think>|<\|channel\|>analysis<\|message\|>/;
6565
const REGEX_THINK_CLOSE =
66-
/<\/think>|<\|start\|>assistant<\|channel\|>final<\|message\|>/;
66+
/<\/think>|<\|end\|>/;
6767
let actualContent = '';
6868
let thought = '';
6969
let isThinking = false;

0 commit comments

Comments
 (0)