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

返回的内容中包含类似“$@$v=v1.13-rv1$@$” 这样的内容,有办法加个过滤功能吗? #110

Open
struggler2020 opened this issue Jul 6, 2024 · 1 comment

Comments

@struggler2020
Copy link

data: {"id": "chatcmpl-001GPT4FptQnpkopbcKwzv91mF46y", "object": "chat.completion.chunk", "created": 1720235265, "model": "gpt-3.5-turbo", "choices": [{"index": 0, "delta": {"content": "$@$v=v1.13-rv1$@$Hello! It's nice to meet you. Is there something I can help you with, or would you like to chat?"}, "finish_reason": null}]}

data: {"id": "chatcmpl-001GPT4FptQnpkopbcKwzv91mF46y", "object": "chat.completion.chunk", "created": 1720235265, "model": "gpt-3.5-turbo", "choices": [{"index": 0, "delta": {}, "finish_reason": "stop"}]}

data: [DONE]

以上是测试返回结果,每次返回的内容中都带有”$@$v=v1.13-rv1$@$“,测试适配器是xtekky/gpt4free

@foxdodo
Copy link

foxdodo commented Jul 13, 2024

这一串代码挡住了lobe-chat右侧的话题栏的标题,导致所有标题都多了个前缀,就算切换成非free-one-api的模型也一样,属实难受🤣

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