fix/replace close think tag from text segment (#5258)
This commit is contained in:
parent
6300875e19
commit
414a9f0da5
@ -311,7 +311,10 @@ export const ThreadContent = memo(
|
||||
/>
|
||||
)}
|
||||
|
||||
<RenderMarkdown content={textSegment} components={linkComponents} />
|
||||
<RenderMarkdown
|
||||
content={textSegment.replace('</think>', '')}
|
||||
components={linkComponents}
|
||||
/>
|
||||
|
||||
{isToolCalls && item.metadata?.tool_calls ? (
|
||||
<>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user