Skip to content

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

@AlemTuzlak

Description

@AlemTuzlak

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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