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

使用本地模型的时候好像没有上下文对话 #648

Closed
wwjCMP opened this issue Mar 11, 2024 · 3 comments
Closed

使用本地模型的时候好像没有上下文对话 #648

wwjCMP opened this issue Mar 11, 2024 · 3 comments

Comments

@wwjCMP
Copy link

wwjCMP commented Mar 11, 2024

Snipaste_2024-03-11_17-50-38
知乎文章上面的问答。设置中对话长度是4

@josStorer
Copy link
Owner

josStorer commented Mar 11, 2024

可能你使用的后端在SSE结束时没有发送[DONE], 这个插件用这个标志作为回答完成的标识(也是OpenAI API所采用的), 如果回答没有完成, 会被视作错误或者中断, 就不会被发出去

@wwjCMP
Copy link
Author

wwjCMP commented Mar 11, 2024

用的是LM studio
image

josStorer added a commit that referenced this issue Mar 23, 2024
…can be customized, thus requiring more condition checks, now the api has better support for ollama and LM Studio) (#631, #648)
@josStorer
Copy link
Owner

v2.5.1

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

2 participants