Open lucobellic opened 2 hours ago
Please can you share the minimal so I can recreate
Added minimal.lua
, but it is the same as the default.
Also added the output of the Say Hello
request in the chat.
The request does not contain model/schema parameters, but only stream=true.
Oh my that is a huge spot! Thank you. Do you want to submit the PR to take the credit for this and I'll merge straight away
Oh my that is a huge spot! Thank you. Do you want to submit the PR to take the credit for this and I'll merge straight away
Thank you, but you can commit the fix directly.
Your
minimal.lua
configSame as default
Error messages
N/A
Log output
Health check output
N/A
Describe the bug
When using the Copilot adapter with the stream set to true (the default value), all adapter parameters are overwritten. Then without provided model, Copilot will always use the gpt-3.5-turbo-0613 model by default.
This issue is caused by the
setup
function in the copilot.lua file.This can be fixed using same code as openai adapter with:
Reproduce the bug
No response
Final checks
minimal.lua
file from above and have shared this