Giter VIP home page Giter VIP logo

Comments (4)

sygaton avatar sygaton commented on July 1, 2024

java的后台不可用的时候,再切换到chatgpt-web项目的nodejs的后台,使用同一个apikey,则可以使用。

from ai-beehive.

hncboy avatar hncboy commented on July 1, 2024

1.【This model's maximum context length is 4097 tokens. However, you requested 4283 tokens (3283 in the messages, 1000 in the completion). Please reduce the length of the messages or completion.】
表示被受到最大 tokens 限制了。它记录了你发送的 20 条消息的上下文。每次发送新消息,都会发送之前的消息,比如你发送第 19 条消息,会把之前的 18 条消息一起发过去。你发送第 20 条消息,会把之前的 19 条消息也一起发过去。相当于之前的消息会重复进行扣费。

2.因为上下文消息不是存在 openai,是每次掉接口传过去的,所以你切换 nodejs 后台的时候相当于又继续从第一条开始。

from ai-beehive.

hncboy avatar hncboy commented on July 1, 2024

【后续再次发送消息时,则所有消息都是返回Request failed with status code 504】

这个是异常,还没做处理。

from ai-beehive.

hncboy avatar hncboy commented on July 1, 2024

已优化提示消息

from ai-beehive.

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.