-
Notifications
You must be signed in to change notification settings - Fork 67
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
Weave gives Validation Error using Custom Chat Template #2444
Comments
Hey @AIApprentice101 Thanks for writing in! Your weave package looks quite a bit out of date, do you mind updating and trying again? Happy to help if the issue persists :) |
Thank you. I just tried version |
Ticketing for internal tracking, I will keep you posted! |
Do you mind providing a code sample so that I can reproduce the issue? @AIApprentice101 |
Thank you for your reply. I think I figure out where the issue is from. I'm using the Mistral-7B model which doesn't have role "system". I used a custom chat template that basically converts "system" message to "user". Without
If you think this is not a general case, please feel free to close this issue. Any help would be very appreciated. Thank you. |
Thank you for the package. Love it.
I use Langchain's ChatOpenAI function with
stream=True
. When I add Weave to trace the chains by simply `weave.init()', it throws the following error:Package info:
langchain = "0.3.0"
langchain-openai = "0.2.0"
weave = "0.50.7"
The text was updated successfully, but these errors were encountered: