fix: 正文被误归为思考内容
Browse files
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"
|
| 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 "";
|