fix: 修复对话视图合并后的问题

- 移除未使用的变量 index
- 修复展开/收缩按钮在非请求体Tab被禁用的问题
- 删除未使用的 copyJsonToClipboard 函数

Co-Authored-By: LewisPen <[email protected]>
This commit is contained in:
fawney19
2026-01-15 19:18:32 +08:00
co-authored by LewisPen
parent 18ac4fe2f3
commit b2731eddf3
2 changed files with 3 additions and 39 deletions
@@ -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(''),