mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-08 02:17:46 +08:00
fix: 修复对话视图合并后的问题
- 移除未使用的变量 index - 修复展开/收缩按钮在非请求体Tab被禁用的问题 - 删除未使用的 copyJsonToClipboard 函数 Co-Authored-By: LewisPen <[email protected]>
This commit is contained in:
@@ -278,7 +278,7 @@ function extractClaudeStreamResponse(chunks: any[]): ExtractedConversation {
|
||||
}
|
||||
|
||||
// 转换为消息
|
||||
for (const [index, block] of Array.from(blocks.entries()).sort((a, b) => a[0] - b[0])) {
|
||||
for (const [, block] of Array.from(blocks.entries()).sort((a, b) => a[0] - b[0])) {
|
||||
result.messages.push({
|
||||
role: 'assistant',
|
||||
content: block.parts.join(''),
|
||||
|
||||
Reference in New Issue
Block a user