Skip to content
Source
Sign inSign up
TanStack/ai

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

Send to my agent
OpenAlemTuzlak opened this issue 1 comment
AlemTuzlakcommented

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.

  1. @AlemTuzlak should this issue be in the copilotkit repo not ai?

  2. github-actions[bot](GitHub profile, opens in a new tab) added labelswaiting-on: author

Sign in to join this conversation.