fix: save watermark_text in update_api_config

This commit is contained in:
hmo
2026-04-27 20:22:45 +08:00
parent ec5bb62ad4
commit abfe1c2192
2 changed files with 3 additions and 4 deletions
+1
View File
@@ -73,6 +73,7 @@ def update_api_config():
"model": data.get("model", "doubao-seed-2.0-pro"),
"temperature": float(data.get("temperature", 0.7)),
"prompt_template": data.get("prompt_template", ""),
"watermark_text": data.get("watermark_text", ""),
}
save_api_config(config, current_app.config)