-
Notifications
You must be signed in to change notification settings - Fork 3k
Description
Checked other resources
- This is a bug, not a usage question. For questions, please use the LangChain Forum (https://forum.langchain.com/).
- I added a very descriptive title to this issue.
- I searched the LangChain.js documentation with the integrated search.
- I used the GitHub search to find a similar question and didn't find it.
- I am sure that this is a bug in LangChain.js rather than my code.
- The bug is not resolved by updating to the latest stable version of LangChain (or the specific integration package).
Example Code
Why not put the baseUrl out? How to support the new multi-modal apiUrl? Thx.
Error Message and Stack Trace (if applicable)
Error processing chat request: Error: url error, please check url! For details, see: https://help.aliyun.com/zh/model-studio/error-code#error-url
Description
I used:
import { ChatAlibabaTongyi } from '@langchain/community/chatmodels/alibaba_tongyi';
new ChatAlibabaTongyi({model: "qwen3-vl-30b-a3b-instruct"})
Tip: url error, but the model doesn't seem to be able to customize the baseUrl
System Info
OS
macOS 13.7.8 (22H730)
npm 10.9.3
node v22.19.0
package.json
"dependencies": {
"@langchain/community": "^1.1.4",
"@langchain/core": "^1.1.15",
"@langchain/deepseek": "^1.0.5",
"@langchain/google-genai": "^2.1.10",
"@langchain/groq": "^1.0.3",
"@langchain/ollama": "^1.2.0",
"@langchain/openai": "^1.2.2",
"@langchain/xai": "^1.2.1",
"cors": "^2.8.5",
"express": "^4.21.2",
"jsonwebtoken": "^9.0.3",
"langchain": "^1.2.10",
"morgan": "^1.10.0",
"zod": "^4.3.5"
}