TanStack / TanStack/ai

E2E: add Bedrock Converse (AWS event-stream) provider to aimock

Open
#669 1 comment 0 reactions 1 assignee View on GitHub

@jherr is already working on this.

Since Sep 17, 2026.

waiting-on: author
Dominant language
TypeScript
Stars
3.1k
Forks
331
Avg merge
1d 22h
Merged PRs (30d)
160

Description

The new default bedrock-converse adapter (PR #665) uses @aws-sdk/client-bedrock-runtime, which speaks AWS's binary event-stream (vnd.amazon.eventstream) Converse protocol.

@copilotkit/aimock (used by the E2E suite) only mocks OpenAI / Anthropic / Gemini / Ollama / ElevenLabs wire protocols, so the Converse path cannot be added to the Playwright test matrix today — registering it would fail with no mockable backend.

Current coverage: the Converse translation layer (message converter, tool converter, stream processor, structured output, adapter) is covered by unit tests in packages/ai-bedrock/tests/converse/. The OpenAI-compatible bedrock and bedrock-responses paths remain in the E2E matrix.

Ask: add a Bedrock/Converse provider to @copilotkit/aimock (record + replay of the Converse ConverseStream event-stream), then register bedrock-converse in testing/e2e (types.ts, feature-support.ts, providers.ts, test-matrix.ts) so the existing feature specs auto-run against the default Converse path.

Context: see the "Bedrock Converse coverage gap" note in testing/e2e/README.md.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.