li2895 commited on
Commit
8d456ca
·
1 Parent(s): 5ade401

fix: 正文被误归为思考内容

Browse files
Files changed (1) hide show
  1. server.js +2 -2
server.js CHANGED
@@ -181,11 +181,11 @@ function _recurseObj(obj, keySet, depth) {
181
  return "";
182
  }
183
 
184
- const _TEXT_KEYS = new Set(["Text", "text", "Content", "content", "Delta", "delta", "Msg", "msg", "reply", "Reply", "answer", "Answer"]);
185
  const _THINK_KEYS = new Set(["think", "Think", "thinking", "Thinking", "reasoning",
186
  "reasoning_content", "Reasoning", "thought", "Thought",
187
  "思维", "思考", "推理",
188
- "reasoningText", "thinkContent", "think_text", "Message"]);
189
 
190
  function extractEventText(d) {
191
  if (d == null) return "";
 
181
  return "";
182
  }
183
 
184
+ const _TEXT_KEYS = new Set(["Text", "text", "Content", "content", "Delta", "delta", "Msg", "msg", "Message", "reply", "Reply", "answer", "Answer"]);
185
  const _THINK_KEYS = new Set(["think", "Think", "thinking", "Thinking", "reasoning",
186
  "reasoning_content", "Reasoning", "thought", "Thought",
187
  "思维", "思考", "推理",
188
+ "reasoningText", "thinkContent", "think_text"]);
189
 
190
  function extractEventText(d) {
191
  if (d == null) return "";