Skip to content

fix: resolve real bedrock backing model for BYO aliases in factory#103

Open
andreiancuta-uipath wants to merge 1 commit into
mainfrom
fix/bedrock-byo-base-model-id
Open

fix: resolve real bedrock backing model for BYO aliases in factory#103
andreiancuta-uipath wants to merge 1 commit into
mainfrom
fix/bedrock-byo-base-model-id

Conversation

@andreiancuta-uipath

Copy link
Copy Markdown
Contributor

Langchain Bedrock clients try to detect model capabilities, including tool calling, from the model name. BYOM aliases can be anything, so some of them are unrecognized by the client and refuse the tool_call parameter → an error is thrown.

The fix is to detect the vendor from the underlying model name (customerModel in LLMGW terms) and inject that into the clients.

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.

1 participant