labring / FastGPT

FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, and visual AI workflow orchestration, letting you easily develop and deploy complex question-answering systems without the need for extensive setup or configuration.
https://tryfastgpt.ai
Other
17.5k stars 4.7k forks source link

我用智能微秘书对接fastGPT(fastGPT对接one-api),在微信中收到的内容出现\n\n,发现对oneapi做了二次转义 #907

Closed shyouhui closed 7 months ago

shyouhui commented 7 months ago

例行检查

你的版本

问题描述 我用智能微秘书(wechat.aibotk.com)对接fastGPT(fastGPT对接one-api),在微信中收到的内容出现\n\n,做了二次转义。这个哪位知道怎么改哈?

相关截图

image 测试one-api,收到的内容是正常的,但经过fastGPT转接后,回车符被二次转义。 image

c121914yu commented 7 months ago

image 怪了,我这边没有出现这个,,

shyouhui commented 7 months ago

image 怪了,我这边没有出现这个,,

你fastGPT接的是one-api吗?

c121914yu commented 7 months ago

image 怪了,我这边没有出现这个,,

你fastGPT接的是one-api吗?

是的,但是我没接微秘书。本地测试了下。不过本地版本是4.6.9 alpha了,后面再观察下 ~

swingsun888 commented 7 months ago

我是用chatgpt-on-wechat对接也是这种情况,最后没办法把chatgpt-on-wechat的代码加了个转义就好了。

c121914yu commented 7 months ago

看 oneapi 上评论 0.6.1 已经解决了。0.6 有问题,