-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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
dify cannot create langsmith project #12967
Comments
@corlin Hello there! I'm here to help you with any bugs, questions, or contributions you have for the Dify project. I'm a bot designed to assist you while waiting for a human maintainer. Let's tackle this issue together! When Dify fails to create a project in LangSmith, it might be due to a mismatch between the project name in Dify and LangSmith, or an issue with the API key configuration. Here are some steps to troubleshoot and resolve the issue:
If these steps do not resolve the issue, it might be helpful to check the logs for any additional error messages that could provide more insight into the problem. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
Before the configuration, I had already registered and set up Langsmith, and tested it through Langgraph code. It was able to create projects and perform traces normally. However, based on the Dify configuration, it could not, especially for new Smith projects. Dify was unable to generate project names during the first configuration. |
dify/api/core/ops/langsmith_trace/langsmith_trace.py Lines 507 to 524 in 56e15d0
I think you need to link an existing project. |
The Langsmith management interface does not have a feature entry for creating projects. The existing rule is that the program passes the project name, and a Langsmith project is automatically created; if no project name is specified, it defaults to 'default'. |
Self Checks
Dify version
0.15.0
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
✔️ Expected Behavior
dify create langsmith project
❌ Actual Behavior
dify cannot create langsmith project
The text was updated successfully, but these errors were encountered: