Closed Tejaswgupta closed 8 months ago
缺少复现信息:api哪来的,本repo的openai_api.py,还是vllm的openai api,还是fastchat的openai api。
用本repo的openai_api.py的话,openai-python需要降级至1.0以下,请看README。不是的话,不支持function call,请参考examples/react_demo.py构造模板,或参考https://github.com/QwenLM/Qwen/issues/726。
@jklj077 the api comes from openai_api
of this repo. I tried using with VLLM but the API keeps processing the request indefinitely.
Any plans for supporting openai>1.0 ?
@Tejaswgupta There is a PR for this issue, but we haven't got time to review. You can give it a go.
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
该问题是否在FAQ中有解答? | Is there an existing answer for this in FAQ?
当前行为 | Current Behavior
Code:
Output:
期望行为 | Expected Behavior
Should return the output by using the tool.
复现方法 | Steps To Reproduce
运行环境 | Environment
备注 | Anything else?
NA