Skip to content

sync: seven provider and stream fixes from upstream - #133

Merged
filipeforattini merged 9 commits into
mainfrom
sync/stream-robustness
Sep 5, 2026
Merged

filipeforattini merged 9 commits into
mainfrom
sync/stream-robustness

Conversation

@filipeforattini

@filipeforattini filipeforattini commented Sep 5, 2026 •

Copy link
Copy Markdown

Second port group, stacked on #132. Seven upstream commits, each with its Upstream: trailer:

  • e49772a8b preserve Cerebras completion limit
  • 361a71ffa route Vertex multi-regions through REP
  • 3ef72fe8f route non-native Cloudflare AI Gateway providers via the REST API
  • f8b4dd70a send Anthropic's dashed native slug through the AI Gateway
  • 517ee736b filter unreplayable Bedrock reasoning before caching
  • 154219521 allow none reasoning effort in Bedrock SDK (a change to the Bedrock SDK patch)
  • 69c172e8a handle SSE reader cancel rejections

Also records two upstream Bedrock version bumps (e2ec62d07, 4502ee568) as superseded by #132, which carries the versions they bumped to.

Port notes

Five applied clean through bun upstream:port and were committed by it. Two needed a hand:

Tested

Provider suites + the pty test: 715 pass. Cerebras and gateway tests: 122 pass. Typecheck clean in redcode and core. bun upstream:status lists 42.

https://claude.ai/code/session_014XwJPDhq1ahcm3rd454WzQ


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@filipeforattini
filipeforattini changed the base branch from sync/anthropic-thinking to main September 5, 2026 16:05
@filipeforattini
filipeforattini enabled auto-merge (rebase) September 5, 2026 16:05
Ported from anomalyco/opencode e49772a.

Co-authored-by: Aiden <rekram1-node@users.noreply.github.com>
Co-authored-by: ryanl-cerebras <230249923+ryanl-cerebras@users.noreply.github.com>

Upstream: e49772a
Ported from anomalyco/opencode 361a71f.

Co-authored-by: Aiden Cline <rekram1-node@users.noreply.github.com>
Co-authored-by: Filip <34747899+neriousy@users.noreply.github.com>

Upstream: 361a71f
…he REST API (anomalyco#44828)

Ported from anomalyco/opencode 3ef72fe.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>

Upstream: 3ef72fe
…eway (anomalyco#44281)

Ported from anomalyco/opencode f8b4dd7.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>

Upstream: f8b4dd7
…nomalyco#45769)

Ported from anomalyco/opencode 517ee73.

Port note: the test file's import hunk was rejected only because the imports it adds were
already present from the thinking-binding port; everything else applied as upstream wrote it.

Upstream: 517ee73
Ported from anomalyco/opencode 69c172e.

Port note: provider.ts conflicted because we had already made the same fix — our line
keeps the `void` in front of the swallowed cancel — so ours stands and upstream's change to
the shared aisdk stream helper and its pty test come across.

Upstream: 69c172e
@filipeforattini
filipeforattini merged commit 150c010 into main Sep 5, 2026
12 checks passed
@filipeforattini
filipeforattini deleted the sync/stream-robustness branch September 18, 2026 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant