yuoop commited on
Commit
9efb594
·
verified ·
1 Parent(s): 3e078ca

Update index.js

Browse files
Files changed (1) hide show
  1. index.js +0 -2
index.js CHANGED
@@ -563,8 +563,6 @@ class GrokApiClient {
563
  const search = request.model === 'grok-2-search' || request.model === 'grok-3-search';
564
 
565
  // 移除<details>
566
- <summary>💭 <b>思考过程 (点击展开)</b></summary>
567
- 标签及其内容和base64图片
568
  const removeThinkTags = (text) => {
569
  text = text.replace(/<think>[\s\S]*?<\/think>/g, '').trim();
570
  text = text.replace(/!$$image$$$data:.*?base64,.*?$/g, '[图片]');
 
563
  const search = request.model === 'grok-2-search' || request.model === 'grok-3-search';
564
 
565
  // 移除<details>
 
 
566
  const removeThinkTags = (text) => {
567
  text = text.replace(/<think>[\s\S]*?<\/think>/g, '').trim();
568
  text = text.replace(/!$$image$$$data:.*?base64,.*?$/g, '[图片]');