refactor: replace APIKey with HasAPIKey in AIConfig and related components

This commit is contained in:
mlogclub
2026-05-30 22:41:21 +08:00
parent ac3936f7f7
commit a2f238b3f8
7 changed files with 123 additions and 15 deletions
@@ -88,7 +88,7 @@ function buildForm(item: AIConfig | null): EditForm {
name: item.name,
provider: item.provider,
baseUrl: item.baseUrl,
apiKey: item.apiKey,
apiKey: "",
modelType: item.modelType,
modelName: item.modelName,
dimension: String(item.dimension),