feat(models): add bedrock-converse-stream API type

Add AWS Bedrock Converse Stream API to the list of supported model APIs,
enabling custom provider configurations for Amazon Bedrock endpoints.

This allows users to configure Bedrock models in their clawdbot.json:

  "models": {
    "providers": {
      "amazon-bedrock": {
        "baseUrl": "https://bedrock-runtime.us-east-1.amazonaws.com",
        "api": "bedrock-converse-stream",
        "models": [...]
      }
    }
  }

The underlying adapter already exists; this change exposes it as a valid
configuration option.
This commit is contained in:
Andrew Lauppe authored and Peter Steinberger committed 2026-01-20 06:51:25 +00:00
1 parent 5d7e38a786
commit 7f25523d89
2 files changed
+3 -1

No files matched your search

+2 -1
View File
@@ -3,7 +3,8 @@ export type ModelApi =
| "openai-responses"
| "anthropic-messages"
| "google-generative-ai"
| "github-copilot";
| "github-copilot"
| "bedrock-converse-stream";
export type ModelCompatConfig = {
supportsStore?: boolean;
+1
View File
@@ -8,6 +8,7 @@ export const ModelApiSchema = z.union([
z.literal("anthropic-messages"),
z.literal("google-generative-ai"),
z.literal("github-copilot"),
z.literal("bedrock-converse-stream"),
]);
export const ModelCompatSchema = z