Skip to content

feat: add Bedrock messages and Strands agents handlers - #58

Draft
andrewklatzke wants to merge 1 commit into
mainfrom
aklatzke/AIC-3238/bedrock-handler
Draft

andrewklatzke wants to merge 1 commit into
mainfrom
aklatzke/AIC-3238/bedrock-handler

Conversation

@andrewklatzke

Copy link
Copy Markdown
Contributor

Summary

  • Adds @launchdarkly/ai-bedrock-messages (Bedrock Converse) and @launchdarkly/ai-bedrock-agents (Strands) handler packages.
  • Wires the packages into the workspace, examples, release-please, and TypeScript project graph.
  • Rebased onto current main.

Test plan

  • make lint
  • make code-check
  • make typecheck
  • make test (1013 passed, including 11+11 Bedrock tests)
  • make build
  • CI green on this PR

Wire Converse and Strands Bedrock packages into the workspace, registry, examples, and release-please so callers can target AWS Bedrock through the same config() path as other providers.

Co-authored-by: Cursor <cursoragent@cursor.com>
});
}

function buildInput(config: AiConfigRep, userInput: string, variables: Record<string, unknown>, history?: Message[]) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bedrock has a different message format than most; everything is a "content block"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants