feat: option to regenerate the answer after switching model (#98)

This commit is contained in:
josc146
2023-03-31 20:04:38 +08:00
parent 04dc6e3f22
commit 9b37f358d4
9 changed files with 75 additions and 82 deletions
+1
View File
@@ -66,6 +66,7 @@ export const defaultConfig = {
preferredLanguage: getNavigatorLanguage(),
insertAtTop: isMobile(),
lockWhenAnswer: false,
autoRegenAfterSwitchModel: false,
customModelApiUrl: 'http://localhost:8000/chat/completions',
customModelName: 'chatglm-6b-int4',