We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cb5544 commit 899dc78Copy full SHA for 899dc78
src/api/providers/bedrock.ts
@@ -976,4 +976,14 @@ Suggestions:
976
return `Bedrock completion error: ${errorMessage}`
977
}
978
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
+ }
989
0 commit comments