Giter Site home page Giter Site logo

Comments (9)

linweiyuan avatar linweiyuan commented on July 19, 2024

你看我 README 上的第二条博客

from go-chatgpt-api.

GNAYUOHZ avatar GNAYUOHZ commented on July 19, 2024

并且程序里加了锁只能一个接一个对话
这个可以改进吗?

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

API 模式是没锁的

ChatGPT 模式目前如果不加锁,那么如果你我用同一个代理,你提问了,我会看到你的回答

这个之前没找到好的办法,未来可能会改也可能改不了

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

属于套个浏览器的局限性

from go-chatgpt-api.

liuyongcchungithub avatar liuyongcchungithub commented on July 19, 2024

属于套浏览器的局限性

有没有可能同一个token 加锁 不同的token不加锁

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

不知道可不可以,需要找个时间再测试下

from go-chatgpt-api.

GNAYUOHZ avatar GNAYUOHZ commented on July 19, 2024

是否可以按conversationid加锁呢?这样就和官方使用方式对齐了

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

没这么简单的

依靠浏览器定时刷新获取新 cookie

如果对话过程中刷新,对话中断

如果不刷新,对话 403

如果按人锁,在多人一直用的情况下,浏览器得不到刷新,到时 cookie 一过期,雪崩

from go-chatgpt-api.

linweiyuan avatar linweiyuan commented on July 19, 2024

#58 (comment)

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.