mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 06:15:51 +00:00
feat: 完成第二版类型清理
This commit is contained in:
@@ -102,7 +102,7 @@ Your response must be a JSON object matching one of the following schemas:
|
||||
cleanupSignal()
|
||||
|
||||
// Extract text content from response
|
||||
const content = extractTextContent(response.message.content)
|
||||
const content = extractTextContent(Array.isArray(response.message.content) ? response.message.content : [])
|
||||
|
||||
// Update response length for spinner display
|
||||
toolUseContext.setResponseLength(length => length + content.length)
|
||||
|
||||
Reference in New Issue
Block a user