mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-06 02:47:56 +00:00
Fix issue where sending image when resuming task would be ignored
This commit is contained in:
parent
273eb3acad
commit
c1c8c71f3e
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue