Skip to content
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

chatCompletionStream不会调用自定义函数换成chatCompletion后会调用 #27

Open
wysnxzm opened this issue Dec 4, 2024 · 2 comments

Comments

@wysnxzm
Copy link

wysnxzm commented Dec 4, 2024

平台:ollama
模型:qwen2.5:7b

@LnYo-Cly
Copy link
Owner

LnYo-Cly commented Dec 4, 2024

请问是否有具体代码?
我这边测试均是正常的。

@ljia310
Copy link

ljia310 commented Feb 10, 2025

我也遇到了一样的问题:
这个代码可以调用函数,但是函数会一致死循环的调用。

Image

下面使用chatCompletionStream就不会触发函数调用

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants