Skip to content

[BUG] Anthropic models accessed through Bedrock in 3.66.0+ give API request failed #902

Description

@emeraldcheshire

Problem (one or two sentences)

Anthropic models accessed through Bedrock in 3.66.0+ give API request failed with an ugly "function(e,t=!1)..." message (see below for full details).

3.64.0 is the last working release version.

Context (who is affected and when)

Users upgrading past 3.64.0.

Reproduction steps

  1. Windows
  2. Model provider Amazon Bedrock / Amazong Bedrock API Key / us-east / Use cross-region / Enable prompt caching / anthropic.claude-opus-4.8
  3. Say hi in Ask mode

Expected result

The prompt is processed

Actual result

API error returned

Variations tried (optional)

No response

App Version

3.69.100251

API Provider (optional)

No response

Model Used (optional)

Claude Opus 4.8 and others

Zoo Code Task Links (optional)

No response

Relevant logs or errors (optional)

Date/time: 2026-07-15T21:06:34.571Z
Extension version: 3.69.100251
Provider: bedrock
Model: anthropic.claude-sonnet-4-5-20250929-v1:0

Provider ended the request: Unknown Error: function(e,t=!1){return this.sort(((a,r)=>{const i=e(a),n=e(r),o=t?-1:1;return"string"==typeof i&&"string"==typ...<omitted>...s} could not be cloned.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions