mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 06:15:51 +00:00
style: 完成所有文件的lint
This commit is contained in:
@@ -125,7 +125,12 @@ ${question}`
|
||||
function extractSideQuestionResponse(messages: Message[]): string | null {
|
||||
// Flatten all assistant content blocks across the per-block messages.
|
||||
const assistantBlocks = messages.flatMap(m =>
|
||||
m.type === 'assistant' ? (m.message!.content as unknown as Array<{ type: string; [key: string]: unknown }>) : [],
|
||||
m.type === 'assistant'
|
||||
? (m.message!.content as unknown as Array<{
|
||||
type: string
|
||||
[key: string]: unknown
|
||||
}>)
|
||||
: [],
|
||||
)
|
||||
|
||||
if (assistantBlocks.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user