mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-10 22:41:14 +00:00
Bedrock Prompt Caching Improvements (#3099)
Fix system prompt caching on first message
This commit is contained in:
parent
78bb7e0256
commit
5ab78b37c0
1 changed files with 1 additions and 1 deletions
|
|
@ -499,7 +499,7 @@ export class AwsBedrockHandler extends BaseProvider implements SingleCompletionH
|
|||
})
|
||||
|
||||
return {
|
||||
system: systemMessage ? [{ text: systemMessage } as SystemContentBlock] : [],
|
||||
system: cacheResult.system,
|
||||
messages: messagesWithCache,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue