Giter Site home page Giter Site logo

Comments (8)

linweiyuan avatar linweiyuan commented on July 1, 2024 1

看来问题的根源在这里,XHR 每次都是返回一堆 data: xxx\n\n,如果这些返回的数据含有处理这部分数据的时候的分隔符,还是会有问题

2023-04-09_09-06

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 1, 2024

可以必现吗,输入是什么

from go-chatgpt-api.

nephen avatar nephen commented on July 1, 2024
vue里面的input值怎么缓存,在开多个相同网页页面的情况下,写长点

我用这个复现了两次

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 1, 2024

试了十几次都没试到,是最新镜像不?可能修复了

from go-chatgpt-api.

nephen avatar nephen commented on July 1, 2024

是最新的,偶尔能复现到

from go-chatgpt-api.

nephen avatar nephen commented on July 1, 2024

尝试修复了下,#12

from go-chatgpt-api.

nephen avatar nephen commented on July 1, 2024

厉害了,我没有看浏览器那端的数据

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 1, 2024

经过反复测试发现应该搞错了,返回的数据的换行全部转义了,这个假数据我自己弄来测试,真正的响应应该不会这样

这样就又不知道为何数据不完整了

from go-chatgpt-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.