Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Summarize the content using the current conversation model #4588

Closed
wants to merge 2 commits into from

Conversation

chengtx809
Copy link

@chengtx809 chengtx809 commented Apr 29, 2024

Fix bug: #4587
The bug comes from: app/constant.ts

export const SUMMARIZE_MODEL = "gpt-3.5-turbo";
export const GEMINI_SUMMARIZE_MODEL = "gemini-pro";

The problem of writing the summary model to death will result in the failure to summarize when using a non-GPT-3.5-turbo model
I changed it to:

export const UsedModel= `{{model}}`;

export const SUMMARIZE_MODEL = UsedModel;
export const GEMINI_SUMMARIZE_MODEL = UsedModel;

This automatically selects the model used for summarization

Copy link

vercel bot commented Apr 29, 2024

@chengtx809 is attempting to deploy a commit to the NextChat Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

Your build has completed!

Preview deployment

* 去除system消息

* Update constant.ts

* 标题文字更改

* Add files via upload

* status按钮增加

* 按钮图标修复

* 侧边栏标语更新

* 侧边栏标语update
@chengtx809
Copy link
Author

错误上传了分支(😭)
一会我再重新提交pr

@chengtx809 chengtx809 closed this Apr 30, 2024
@Issues-translate-bot
Copy link

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


Branch uploaded by mistake (😭)
I will resubmit PR later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants