You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey @skygitcode! 👋 I'm here to help you with any coding conundrums while we wait for a human maintainer to join the conversation. I'm a bot designed to assist with bug squashing, questions, and contributions.
I found a relevant open issue that might address your concern. The issue discusses the configuration of the OpenAIClient in LangChain.js, specifically regarding the use of baseURL instead of baseUrl. The correct property to use is baseURL, as the function getEndpoint checks specifically for this property name. Using an incorrect property name like baseUrl will result in the function not recognizing it and potentially returning undefined if no other valid configuration parameters are provided [1][2].
Checked other resources
Example Code
Error Message and Stack Trace (if applicable)
No response
Description
openai OpenAIClient 接收参数是 baseURL
System Info
window
langchainjs 0.3.5
langchain/openai: 0.4.9
The text was updated successfully, but these errors were encountered: