mirror of
https://github.com/claude-code-best/claude-code.git
synced 2026-06-18 06:15:51 +00:00
feat: 添加 Bedrock API 客户端及 API 层增强
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -360,9 +360,7 @@ export function splitSysPromptPrefix(
|
||||
}
|
||||
|
||||
if (useGlobalCacheFeature) {
|
||||
const boundaryIndex = systemPrompt.findIndex(
|
||||
s => s === SYSTEM_PROMPT_DYNAMIC_BOUNDARY,
|
||||
)
|
||||
const boundaryIndex = systemPrompt.indexOf(SYSTEM_PROMPT_DYNAMIC_BOUNDARY)
|
||||
if (boundaryIndex !== -1) {
|
||||
let attributionHeader: string | undefined
|
||||
let systemPromptPrefix: string | undefined
|
||||
|
||||
Reference in New Issue
Block a user