Replies: 1 comment
-
Hello, @Nirnea! I'm here to assist you with any bugs, questions, or contributions you may have. Let's tackle this issue together! To ensure that the Here are a few things you can check or try:
If these steps do not resolve the issue, it might be helpful to look into the internal implementation of the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
-
Checked other resources
Commit to Help
Example Code
Description
I am trying to call aws model that is on my custom endpoint url
endpointHost: 'https://llmgw-test.blindspot.dev/aws-bedrock'
This works correctly with python langchain.
Current behavior: It seems that the request is targeted to aws bedrock directly instead of to my host endpoint, as shown in the attached screenshot.

Therefore, I get error
UnrecognizedClientException: The security token included in the request is invalid.
Expected behavior: Obtain llm response upon invoke.
System Info
node version: v22.9.0
platform: mac
dependencies:
{
"dependencies": {
"@langchain/aws": "^0.1.5",
"@langchain/core": "^0.3.41",
"@langchain/openai": "^0.4.4",
}
}
Beta Was this translation helpful? Give feedback.
All reactions