mirror of
https://wget.la/https://github.com/Wxw-Gu/WechatExplorer
synced 2026-08-17 19:47:08 +08:00
chore: 删除无用代码
This commit is contained in:
@@ -337,13 +337,6 @@ export class AIProviderService {
|
|||||||
if (changed) this.writeMetadata(data)
|
if (changed) this.writeMetadata(data)
|
||||||
}
|
}
|
||||||
|
|
||||||
private ensureEnvironmentMigration(): void {
|
|
||||||
// 已禁用:内置环境变量 Key 自动迁移策略。
|
|
||||||
// 安全要求:发布给最终用户的版本不应携带任何内置 API Key,
|
|
||||||
// 必须由用户自己在 UI 里手动配置(或者通过自己的 .env.local 注入)。
|
|
||||||
// 保留此方法作为占位,方便后续重新评估。
|
|
||||||
}
|
|
||||||
|
|
||||||
private toSummary(
|
private toSummary(
|
||||||
provider: Omit<AIProviderSummary, 'hasApiKey' | 'isDefault'>,
|
provider: Omit<AIProviderSummary, 'hasApiKey' | 'isDefault'>,
|
||||||
defaultProviderId?: string
|
defaultProviderId?: string
|
||||||
|
|||||||
Reference in New Issue
Block a user