We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b7cb96 commit 56b11d8Copy full SHA for 56b11d8
2 files changed
config/__init__.py
@@ -116,4 +116,4 @@ def get_character_data():
116
OPENROUTER_API_KEY = CORE_API_KEY
117
118
if not CORE_API_KEY.startswith('sk'):
119
- logger.error("💥 请检查Core API Key是否正确,通常以'sk-'开头。请在设置页面中重新设置。")
+ logger.warning("⚠️ 请检查Core API Key是否正确,通常以'sk-'开头(智谱例外)。请在设置页面中重新设置。")
templates/api_key_settings.html
@@ -275,7 +275,7 @@ <h3>📋 获取API Key步骤</h3>
275
276
<div class="section">
277
<div class="tips">
278
- 💡 请确保API Key格式正确,通常以"sk-"开头。保存后需要重启服务才能生效。<br>
+ 💡 请确保API Key格式正确,通常以"sk-"开头(智谱例外)。保存后需要重启服务才能生效。<br>
279
📝 个人使用环境,API Key将完整显示以便复制使用。
280
</div>
281
0 commit comments