Code Monkey home page Code Monkey logo

Comments (3)

slippersheepig avatar slippersheepig commented on June 25, 2024

1.问题请求接口改为post。get方法有字数限制,贴段长代码就报错了。
2.聊天会话没有做隔离,多人使用对话上下文会干扰。没有会话重置按钮。

感谢反馈

  • 经测试,ChatGPT官方网页版也有长度限制(作者github也有说明),将gunicorn默认的长度限制放开即可解决(目前已处理完毕);
  • 关于会话隔离问题,在作者github有多个issue及discussion提及,目前不确定是作者代码问题还是我的代码问题,但是如果是我这边的问题的话,恕我无力解决(不擅长),如果可以,欢迎提交pr,重置同理。

from chatgpt-html.

wingeva1986 avatar wingeva1986 commented on June 25, 2024

1.问题请求接口改为post。get方法有字数限制,贴段长代码就报错了。
2.聊天会话没有做隔离,多人使用对话上下文会干扰。没有会话重置按钮。

感谢反馈

  • 经测试,ChatGPT官方网页版也有长度限制(作者github也有说明),将gunicorn默认的长度限制放开即可解决(目前已处理完毕);
  • 关于会话隔离问题,在作者github有多个issue及discussion提及,目前不确定是作者代码问题还是我的代码问题,但是如果是我这边的问题的话,恕我无力解决(不擅长),如果可以,欢迎提交pr,重置同理。

我没测试,但粗看了下接口说明,应该是以UUID标识一个会话的,ask方法就可以传进去。

https://github.com/acheong08/ChatGPT/wiki/V1

from chatgpt-html.

slippersheepig avatar slippersheepig commented on June 25, 2024
  • 当发送超长字符给ChatGPT时,官方网页返回“The message you submitted was too long, please reload the conversation and submit something shorter.”自建网页则直接长时间无响应(作者代码没做这种抛出返回,也有可能openai本身就没作为抛出;因为现在没有在gunicorn做长度限制,准备加一行红字提示)
    1
    1 1
  • 经过一下午观察,发现既不是完全集中在一个会话,也不是每个新会话都会新建一个新聊天窗口,不准备处理这个问题了
    2

from chatgpt-html.

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.