feat: AWS Bedrock and Google Vertex adapters (P-b, stacked on #22) #23

Merged
KofTwentyTwo merged 4 commits from feature/p2-bedrock-vertex into develop 2026-10-13 23:04:13 +00:00
4 Commits
Author SHA1 Message Date
james.maesandClaude Opus 5.5 95f0040748 fix: a cancelled stream ignores the worker's late complete/fail
cancel() closes the stream before it completes the handle, so the
worker's IOException could win and turn a cancel into a NETWORK error
(flaky OpenAiContractTest.timeoutCancelAndNetwork on CI).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 18:01:21 -05:00
james.maesandClaude Opus 5.5 34b0f67670 feat: Bedrock and Vertex kind labels
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 17:49:19 -05:00
james.maes 88e1081396 Merge remote-tracking branch 'origin/feature/p1-provider-registry' into feature/p2-bedrock-vertex 2026-10-13 17:47:42 -05:00
james.maesandClaude Opus 5.5 c9ccd4c79b feat: AWS Bedrock and Google Vertex adapters (P-b)
- qbit-assistant-provider-bedrock: Claude on Bedrock through the
  anthropic-java Bedrock backend (AnthropicMapping reused), credentials
  from the server's AWS default chain, region required, no key reference.
  IRSA/web identity needs the host to add software.amazon.awssdk:sts.
- qbit-assistant-provider-vertex: Claude on Vertex through the
  anthropic-java Vertex backend, Gemini through Vertex's OpenAI-compatible
  endpoint with an ADC bearer token refreshed per request (never strict).
  Region and the new cloud_project column are required.
- AnthropicModelProvider.Builder.client(...) and a bearer-token supplier
  on ProviderSettings / the OpenAI adapter.
- Mocked contract tests: a Bedrock event-stream mock with SigV4 checks,
  Vertex rawPredict and OpenAI-compatible mocks, validation, and a golden
  tool round trip per module.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-13 17:47:40 -05:00