mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 14:25:51 +00:00
feat: 完成第二版类型清理
This commit is contained in:
@@ -80,7 +80,7 @@ Parse the user's input into ISO 8601 format. Return ONLY the formatted string, o
|
||||
})
|
||||
|
||||
// Extract text from result
|
||||
const parsedText = extractTextContent(result.message.content).trim()
|
||||
const parsedText = extractTextContent(Array.isArray(result.message.content) ? result.message.content : []).trim()
|
||||
|
||||
// Validate that we got something usable
|
||||
if (!parsedText || parsedText === 'INVALID') {
|
||||
|
||||
Reference in New Issue
Block a user