mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2026-01-17 12:45:57 +08:00
Fix & Feat UI Page Chat [Json Exporter]
[+] fix(exporter.tsx): remove system message in JsonPreviewer component [+] feat(chat.ts): add system message after updating current session topic for all models
This commit is contained in:
@@ -619,10 +619,6 @@ export function JsonPreviewer(props: {
|
||||
}) {
|
||||
const msgs = {
|
||||
messages: [
|
||||
{
|
||||
role: "system",
|
||||
content: `${Locale.FineTuned.Sysmessage} ${props.topic}`,
|
||||
},
|
||||
...props.messages.map((m) => ({
|
||||
role: m.role,
|
||||
content: m.content,
|
||||
|
||||
Reference in New Issue
Block a user