Powered by
OpenAi chat completion tool callback not supported...
# ❓|questions
r
Ras
06/10/2024, 10:48 PM
Follow up on feature request from here:
https://discord.com/channels/1153767083381903389/1245461451741859840/1245461451741859840
1) In case chatgpt requests tool call, it seems that name and arguments are under functionCall.function.name instead of functionCall.name directly. (Confirmed by changing it locally). 2) It looks like current logic returns callback result as final model response, instead of passing it back to model to get response (Assistant Provider seems to have a while loop until it gets non-token response). Is it intended behavior?
https://cdn.discordapp.com/attachments/1249857822192177255/1249857822611472526/Screenshot_2024-06-10_184325.png?ex=6668d44e&is=666782ce&hm=3f15223db5d3f3985b9e932e520d17dd6f0ef102fdefb1e4140cc0be07e9cbec&
https://cdn.discordapp.com/attachments/1249857822192177255/1249857822884364288/Screenshot_2024-06-10_184509.png?ex=6668d44e&is=666782ce&hm=64c202a76c0dc48f75f18ce8d798c8ae86d94bee4ffe200337a5635478f4a701&
Ras
06/11/2024, 4:40 AM
P.S. If you don't anticipate this getting fixed within the next few days, let me know, I'll create a pull request.
i
ian
06/11/2024, 6:23 AM
Hey Ras - I think you are correct, I'd definitely appreciate a pull request if you have the time!
2
Views
Previous
Next