New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Converting circular structure to JSON when enabling LangSmith #5198
Comments
To address the "TypeError: Converting circular structure to JSON" issue you're encountering with LangSmith, particularly in the context of
The error trace you provided points to If the problem persists, providing more details about the operations leading to the error could help in offering a more specific solution.
|
Ok, removing entirely |
Checked other resources
Example Code
The issue occurs when enabling Langsmith on this sample, in particular the Azure path: https://github.com/Azure-Samples/serverless-chat-langchainjs
The issue seems to come from the
AzureCosmosDBVectorStore
. I'm trying to investigate what could be the cause of the circular structure, do you have any hint on how to debug which object is the root cause?Error Message and Stack Trace (if applicable)
Description
Trying to enable Langsmith, but the app crashes when trying to send the report.
System Info
npm ls langchain @langchain/comm
unity
[email protected] /Users/sinedied/projects/serverless-chat-langchainjs
└─┬ [email protected] -> ./packages/api
├── @langchain/[email protected] -> ./packages/api
└─┬ [email protected]
└── @langchain/[email protected] deduped -> ./packages/api
platform mac, node v20.11.0, npm 10.2.4
The text was updated successfully, but these errors were encountered: