NextChat icon indicating copy to clipboard operation
NextChat copied to clipboard

Summarize the content using the current conversation model

Open chengtx809 opened this issue 1 year ago • 2 comments

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

chengtx809 avatar Apr 30 '24 04:04 chengtx809

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

A member of the Team first needs to authorize it.

vercel[bot] avatar Apr 30 '24 04:04 vercel[bot]

Your build has completed!

Preview deployment

github-actions[bot] avatar Apr 30 '24 04:04 github-actions[bot]