This commit is contained in:
puke authored and puke committed 2025-11-07 16:59:11 +08:00
1 parent f832424dab
commit 0bce687e0c
3 files changed
+6 -4

No files matched your search

+2
View File
@@ -54,6 +54,8 @@ test_outputs/
*.bak
test_*.py
!bgm/default.mp3
# Temp files
temp/
tmp/
BIN
View File
Binary file not shown.
+4 -4
View File
@@ -223,10 +223,10 @@ def render_advanced_settings(config_manager: ConfigManager):
if preset_config.get("api_key_url"):
st.markdown(f"🔑 [{tr('settings.llm.get_api_key')}]({preset_config['api_key_url']})")
else:
# Custom: clear all fields (let user fill custom config)
default_api_key = ""
default_base_url = ""
default_model = ""
# Custom: show current saved config (if any)
default_api_key = current_llm["api_key"]
default_base_url = current_llm["base_url"]
default_model = current_llm["model"]
st.markdown("---")