Skip to content

Commit 899dc78

Browse files
committed
fix: auto patch for bedrock_699
1 parent 8cb5544 commit 899dc78

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/api/providers/bedrock.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -976,4 +976,14 @@ Suggestions:
976976
return `Bedrock completion error: ${errorMessage}`
977977
}
978978
}
979+
980+
override dispose(): void {
981+
// Clear custom cache specific to this handler
982+
this.previousCachePointPlacements = {}
983+
logger.debug("AwsBedrockHandler: Cleared previousCachePointPlacements.", { ctx: "bedrock" })
984+
985+
// Call base class dispose for any generic cleanup (like the SDK client)
986+
// The base dispose method handles client disposal reflectively.
987+
super.dispose()
988+
}
979989
}

0 commit comments

Comments
 (0)