mirror of
https://github.com/wassname/chatGPTBox.git
synced 2026-06-27 18:58:50 +08:00
chore
This commit is contained in:
@@ -29,6 +29,8 @@ function ReadButton({ className, contentFn, size }) {
|
||||
voice = voices.find((v) => v.name.toLowerCase().includes('microsoft aria'))
|
||||
else if (config.preferredLanguage.includes('zh') || navigator.language.includes('zh'))
|
||||
voice = voices.find((v) => v.name.toLowerCase().includes('xiaoyi'))
|
||||
else if (config.preferredLanguage.includes('ja') || navigator.language.includes('ja'))
|
||||
voice = voices.find((v) => v.name.toLowerCase().includes('nanami'))
|
||||
if (!voice) voice = voices.find((v) => v.lang.substring(0, 2) === config.preferredLanguage)
|
||||
if (!voice) voice = voices.find((v) => v.lang === navigator.language)
|
||||
|
||||
|
||||
@@ -180,8 +180,8 @@ export const defaultConfig = {
|
||||
activeApiModes: [
|
||||
// 'claude2Api',
|
||||
'chatgptFree35',
|
||||
'chatgptFree35Mobile',
|
||||
// 'chatgptPlus4',
|
||||
//'chatgptFree35Mobile',
|
||||
'chatgptPlus4',
|
||||
// 'chatgptPlus4Mobile',
|
||||
'chatgptApi35',
|
||||
'chatgptApi35_16k',
|
||||
|
||||
Reference in New Issue
Block a user