Skip to content

feat(langchain): route INVOKE + AnthropicClaude to UiPathChatAnthropicBedrock#87

Merged
cosminacho merged 1 commit into
mainfrom
feat/factory-anthropic-bedrock-invoke
May 22, 2026
Merged

feat(langchain): route INVOKE + AnthropicClaude to UiPathChatAnthropicBedrock#87
cosminacho merged 1 commit into
mainfrom
feat/factory-anthropic-bedrock-invoke

Conversation

@cosminacho
Copy link
Copy Markdown
Collaborator

Summary

Affected packages

  • uipath-langchain-client

Test plan

  • ruff check && ruff format . && pyright && pytest tests — all pass (1931 passed, 1074 skipped, 9 xpassed)
  • New unit tests in TestFactoryBedrockApiFlavorRouting:
    • test_invoke_api_flavor_with_anthropic_claude_uses_anthropic_bedrock — INVOKE + AnthropicClaude routes to UiPathChatAnthropicBedrock
    • test_converse_api_flavor_with_anthropic_claude_still_uses_converse — CONVERSE + AnthropicClaude stays on UiPathChatBedrockConverse
  • Existing bedrock routing tests still pass

🤖 Generated with Claude Code

…cBedrock

The AWSBEDROCK factory branch now picks UiPathChatAnthropicBedrock when
api_flavor is INVOKE and discovery reports modelFamily=AnthropicClaude.
Other INVOKE families still use UiPathChatBedrock, and None/CONVERSE
continue to use UiPathChatBedrockConverse.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@cosminacho cosminacho merged commit 5bca221 into main May 22, 2026
10 checks passed
@cosminacho cosminacho deleted the feat/factory-anthropic-bedrock-invoke branch May 22, 2026 07:48
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