Closed henryyan closed 5 months ago
Hi! As stated in README, you need "openai<1.0" to run with this project. Please also note that this project will not receive major functional updates anymore. You could try to migrate to Qwen1.5.
感觉是用的是老的openai调用方法,换成1.0以上的openai调用方法就可以了
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
当前行为 | Current Behavior
期望行为 | Expected Behavior
使用官方最新的方式重写 function 调用prompt:https://cookbook.openai.com/examples/how_to_call_functions_with_chat_models#basic-concepts
复现方法 | Steps To Reproduce
执行示例:https://github.com/QwenLM/Qwen/blob/main/examples/function_call_examples.py
运行环境 | Environment
备注 | Anything else?
No response