Skip to content

armgit / andee

Public Imported from GitHub
0

Andee lives on your phone or Mac and uses any app like you do—no integrations, no root, any model; memory and passwords never leave your device | Andee 住进你的手机或 Mac,像你一样操作任何 App——无需集成、无需 Root、支持任意模型,记忆和密码绝不离开设备。

fix: 火山 voice endpoint/resource defaults show as hints in settings

booboosui36a155916117
diff --git a/app/src/main/java/net/kuafuai/andee/ui/SettingsUi.kt b/app/src/main/java/net/kuafuai/andee/ui/SettingsUi.kt
index 6504ad3..a8f6320 100644
--- a/app/src/main/java/net/kuafuai/andee/ui/SettingsUi.kt
+++ b/app/src/main/java/net/kuafuai/andee/ui/SettingsUi.kt
@@ -795,10 +795,10 @@ class SettingsUi(
linkNote(huoshanBlock, lctx.getString(R.string.settings_no_key_use_codeflying)) {
pickBrain(VoiceConfig.BRAIN_CODEFLYING)
}
- field(huoshanBlock, "asr_endpoint", lctx.getString(R.string.settings_voice_asr_endpoint))
- field(huoshanBlock, "asr_resource_id", lctx.getString(R.string.settings_voice_asr_resource_id))
- field(huoshanBlock, "tts_endpoint", lctx.getString(R.string.settings_voice_tts_endpoint))
- field(huoshanBlock, "tts_resource_id", lctx.getString(R.string.settings_voice_tts_resource_id))
+ field(huoshanBlock, "asr_endpoint", lctx.getString(R.string.settings_voice_asr_endpoint), hint = VoiceConfig.DEFAULT_ASR_ENDPOINT)
+ field(huoshanBlock, "asr_resource_id", lctx.getString(R.string.settings_voice_asr_resource_id), hint = VoiceConfig.DEFAULT_ASR_RESOURCE)
+ field(huoshanBlock, "tts_endpoint", lctx.getString(R.string.settings_voice_tts_endpoint), hint = VoiceConfig.DEFAULT_TTS_ENDPOINT)
+ field(huoshanBlock, "tts_resource_id", lctx.getString(R.string.settings_voice_tts_resource_id), hint = VoiceConfig.DEFAULT_TTS_RESOURCE)
field(
huoshanBlock,
"tts_sample_rate",