-
-
Notifications
You must be signed in to change notification settings - Fork 391
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
Proper chat_id lookup #403
base: main
Are you sure you want to change the base?
Conversation
chat_id in body is nested under metadata
Hi, there is a typo in line 111. Changing 'chat_tracesy' to 'chat_traces' will make it work properly. |
@M4g3dd0 did you test this? With the typo this should not have worked |
Not this exact code. I was cleaning it up prior to posting here and did not test this final version. Sorry, my bad. |
What is preventing this PR from going through? Happy to help DevOps Wizard here 🧙♂️ |
We are waiting for review and merge by @tjbck |
"chat_id" is nested under "metadata", in gpt4 models, I assume, it can be under "metadata"{"task_body"}. I did not encounter "chat_id" directly in body yet, so I have added checks for it in those three places. And added generation of "chat_id" in case it is missing. And it is missing always, if you try to use openwebui api for model interaction.