Comments (11)
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.
firefox-devtools/profiler#4988__
from chatgpt-next-web.
from chatgpt-next-web.
firefox-devtools/profiler#4988
from chatgpt-next-web.
[] f4a9f2ca90cd026804f3a87ca52afc87a5966bc8()
from chatgpt-next-web.
Bot detected the issue body's language is not English, translate it automatically.
[]
from chatgpt-next-web.
@hossain666 f4a9f2ca90cd026804f3a87ca52afc87a5966bc8
from chatgpt-next-web.
[] f4a9f2ca90cd026804f3a87ca52afc87a5966bc8()
from chatgpt-next-web.
Bot detected the issue body's language is not English, translate it automatically.
[]
from chatgpt-next-web.
产生空系统消息的原因一般是:历史消息长度大于设定的压缩消息长度阈值 ,会发起一次对话,用于总结历史消息,同时携带上一次的『总结』,这样的方式来生成新的『总结』,作为新的『压缩消息』,但是,有时『上一次的总结』不存在,例如被清空,或是第一次发起『消息压缩』,这是逻辑默认增加一个空字符串作为『上一次总结』。这个pr兼容不支持空字符串的模型,将空字符串修改为";"
#4671
from chatgpt-next-web.
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)
- [Bug] 配置了访问密码, 在vercel修改密码之后, 原来验证过密码的还是可以正常访问 HOT 1
- [Bug] netlify现在无法发布最新版,只要设置变量就报错 HOT 1
- [Bug] 无法使用v1beta接口 HOT 5
- [Bug] 同步或导入低版本的备份后,导致可选模型列表被修改 HOT 1
- [Feature Request]: support for gemini-1.5-flash-latest HOT 7
- [Feature Request]: openai官网已支持免登录使用,这个项目能否不用key也能使用 HOT 5
- [Bug] 使用gpt-4o模型无法调用图片上传 HOT 4
- x HOT 2
- 1 HOT 3
- 本地ollama无法聊天 HOT 2
- 无法调用.env文件的OPENAI_API_KEY HOT 2
- [Bug] 本地ollama无法聊天 HOT 5
- [错误].env文件已经配置OPENAI_API_KEY字段 HOT 8
- [Bug] gpt4o模型没有上传图片按钮 HOT 3
- [Bug] HOT 4
- [Bug] 使用gpt-4o模型时会出现错误 HOT 5
- [Feature Request]: 会考虑出一个ios app 吗? HOT 3
- [Bug] Setting `max_tokens` didn't work when using OpenAI models. HOT 1
- [Bug] signal is aborted without reason HOT 2
- [Bug] Icon is too large in macbook HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatgpt-next-web.