Coder Social home page Coder Social logo

Comments (11)

Issues-translate-bot avatar Issues-translate-bot commented on June 21, 2024

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] When summarizing historical sessions, there will be an empty system message, causing LM Studio to report an error

from chatgpt-next-web.

hossain666 avatar hossain666 commented on June 21, 2024

firefox-devtools/profiler#4988__

from chatgpt-next-web.

hossain666 avatar hossain666 commented on June 21, 2024

from chatgpt-next-web.

hossain666 avatar hossain666 commented on June 21, 2024

firefox-devtools/profiler#4988

from chatgpt-next-web.

hossain666 avatar hossain666 commented on June 21, 2024

[] f4a9f2ca90cd026804f3a87ca52afc87a5966bc8()

from chatgpt-next-web.

Issues-translate-bot avatar Issues-translate-bot commented on June 21, 2024

Bot detected the issue body's language is not English, translate it automatically.


[]

from chatgpt-next-web.

hossain666 avatar hossain666 commented on June 21, 2024

@hossain666 f4a9f2ca90cd026804f3a87ca52afc87a5966bc8

from chatgpt-next-web.

hossain666 avatar hossain666 commented on June 21, 2024

[] f4a9f2ca90cd026804f3a87ca52afc87a5966bc8()

from chatgpt-next-web.

Issues-translate-bot avatar Issues-translate-bot commented on June 21, 2024

Bot detected the issue body's language is not English, translate it automatically.


[]

from chatgpt-next-web.

Dean-YZG avatar Dean-YZG commented on June 21, 2024

产生空系统消息的原因一般是:历史消息长度大于设定的压缩消息长度阈值 ,会发起一次对话,用于总结历史消息,同时携带上一次的『总结』,这样的方式来生成新的『总结』,作为新的『压缩消息』,但是,有时『上一次的总结』不存在,例如被清空,或是第一次发起『消息压缩』,这是逻辑默认增加一个空字符串作为『上一次总结』。这个pr兼容不支持空字符串的模型,将空字符串修改为";"
#4671

from chatgpt-next-web.

Issues-translate-bot avatar Issues-translate-bot commented on June 21, 2024

Bot detected the issue body's language is not English, translate it automatically.


The reason for generating empty system messages is generally that the length of historical messages is greater than the set compression message length threshold. A dialogue will be initiated to summarize historical messages and carry the last "summary". In this way, a new "summary" is generated. ”, as a new “compressed message”, however, sometimes the “last summary” does not exist, for example, it is cleared, or the “message compression” is initiated for the first time, this is the logical default to add an empty string as the “last summary” Summarize". This PR is compatible with models that do not support empty strings. Change the empty string to ";"
#4671

from chatgpt-next-web.

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.