Skip to content

Remove hardcoded default DeepSeek API Key and clean up code - #637

Merged
luojiaping merged 1 commit into
AAswordman:mainfrom
luojiaping:fix/remove-default-api-key
Jun 25, 2026
Merged

Remove hardcoded default DeepSeek API Key and clean up code#637
luojiaping merged 1 commit into
AAswordman:mainfrom
luojiaping:fix/remove-default-api-key

Conversation

@luojiaping

Copy link
Copy Markdown
Collaborator
  • 删除 ApiPreferences 中的 ENCODED_API_KEY、DEFAULT_API_KEY 和 decodeApiKey
  • 默认配置 apiKey 改为空字符串
  • 所有 DEFAULT_API_KEY 引用改为 isBlank() 判断
  • 清理不再使用的 ApiPreferences import

- 删除 ApiPreferences 中的 ENCODED_API_KEY、DEFAULT_API_KEY 和 decodeApiKey
- 默认配置 apiKey 改为空字符串
- 所有 DEFAULT_API_KEY 引用改为 isBlank() 判断
- 清理不再使用的 ApiPreferences import
@luojiaping luojiaping mentioned this pull request Jun 25, 2026
@luojiaping
luojiaping merged commit 1a67e45 into AAswordman:main Jun 25, 2026
@luojiaping
luojiaping deleted the fix/remove-default-api-key branch June 25, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant