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
+1 -1
View File
@@ -1181,7 +1181,7 @@ export type AIConfig = {
name: string
provider: string
baseUrl: string
apiKey: string
hasApiKey: boolean
modelType: string
modelName: string
dimension: number