| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| llm | ||
| embedding.test.ts | ||
| parseStreamResponse.test.ts |
* fix: 修复最后一个流为[xxxx]格式时会重复输出1次
issue #5292
当最后一个流中包含[xxxx]格式时,会输出2次。第一次在parseCite方法中if (isStreamEnd) {分支内输出,第二次在调用getResponseData时会输出buffer中的内容,导致重复。
* add test case
---------
Co-authored-by: archer <545436317@qq.com>
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| llm | Loading commit data... | |
| embedding.test.ts | Loading commit data... | |
| parseStreamResponse.test.ts | Loading commit data... |