fix: hide GPT-4 model text

This commit is contained in:
Pionxzh
2023-03-16 01:31:10 +08:00
parent ce0d895bac
commit 796899e0a8
+1 -1
View File
@@ -20,7 +20,7 @@ export async function exportToPng(fileNameFormat: string) {
// hide model bar
Array.from(thread.children).forEach((el) => {
const text = el.textContent
if (text === 'Model: Default' || text === 'Model: Legacy') {
if (text === 'Model: Default' || text === 'Model: Legacy' || text === 'Model: GPT-4') {
el.classList.add('hidden')
}
})