Merge pull request #3184 from touwaeriol/fix/bedrock-beta-and-error-passthrough

fix(gateway): prevent error passthrough double-write and Bedrock beta token leakage
This commit is contained in:
Wesley Liddick
2026-06-10 09:00:21 +08:00
committed by GitHub
14 changed files with 159 additions and 20 deletions
+1 -2
View File
@@ -1205,8 +1205,7 @@ function apiToForm(channel: Channel): PlatformSection[] {
const webSearchEnabled = wsEmulation?.[platform] === true
const codexImageGenerationBridge = fc?.codex_image_generation_bridge as Record<string, boolean> | undefined
const codexImageGenerationBridgeEnabled = codexImageGenerationBridge?.[platform] === true
const bedrockCCCompat = fc?.bedrock_cc_compat as Record<string, boolean> | undefined
const bedrockCCCompatEnabled = bedrockCCCompat?.[platform] === true
const bedrockCCCompatEnabled = fc?.bedrock_cc_compat === true
sections.push({
platform,