feat: fetch APInex models from main thread, populate default-model dropdown (networkAccess added)
This commit is contained in:
1 parent
1468570d0f
commit
ce5aa025aa
3 files changed
+64
-2
No files matched your search
+3
-1
@@ -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: []
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user