feat: fetch APInex models from main thread, populate default-model dropdown (networkAccess added)

This commit is contained in:
Hermes Agent committed 2026-09-19 15:51:12 +02:00
1 parent 1468570d0f
commit ce5aa025aa
3 files changed
+64 -2

No files matched your search

+3 -1
View File
@@ -12,6 +12,7 @@ export interface ProviderConfig {
baseUrl: string
apiKey: string
defaultModel: string
models: string[]
}
export interface Settings {
@@ -44,7 +45,8 @@ export function createApinexProvider (): ProviderConfig {
type: 'apinex',
baseUrl: APINEX_BASE_URL,
apiKey: '',
defaultModel: ''
defaultModel: '',
models: []
}
}