Skip to content

Commit 30c439b

Browse files
committed
Fix system prompt caching on first message
1 parent 58a0efa commit 30c439b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/providers/bedrock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ export class AwsBedrockHandler extends BaseProvider implements SingleCompletionH
499499
})
500500

501501
return {
502-
system: systemMessage ? [{ text: systemMessage } as SystemContentBlock] : [],
502+
system: cacheResult.system,
503503
messages: messagesWithCache,
504504
}
505505
}

0 commit comments

Comments
 (0)