mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 12:21:13 -05:00
Fix issue where sending image when resuming task would be ignored
This commit is contained in:
@@ -632,9 +632,10 @@ export class ClaudeDev {
|
||||
: "") +
|
||||
`\n\n${this.getPotentiallyRelevantDetails()}`
|
||||
|
||||
const newUserContentImages = newUserContent.filter((block) => block.type === "image")
|
||||
const combinedModifiedOldUserContentWithNewUserContent: UserContent = (
|
||||
modifiedOldUserContent.filter((block) => block.type !== "text") as UserContent
|
||||
).concat([{ type: "text", text: combinedText }])
|
||||
).concat([{ type: "text", text: combinedText }, ...newUserContentImages])
|
||||
|
||||
await this.overwriteApiConversationHistory(modifiedApiConversationHistory)
|
||||
await this.initiateTaskLoop(combinedModifiedOldUserContentWithNewUserContent)
|
||||
|
||||
Reference in New Issue
Block a user