mirror of
https://github.com/voideditor/void
synced 2026-05-24 01:48:25 +00:00
Merge pull request #465 from voideditor/model-selection
{} for openaicompat
This commit is contained in:
commit
d33b5ff9a3
1 changed files with 5 additions and 0 deletions
|
|
@ -304,6 +304,11 @@ class VoidSettingsService extends Disposable implements IVoidSettingsService {
|
|||
else m.type = 'custom'
|
||||
}
|
||||
}
|
||||
|
||||
// remove when enough people have had it run (default is now {})
|
||||
if (providerName === 'openAICompatible' && !readS.settingsOfProvider[providerName].headersJSON) {
|
||||
readS.settingsOfProvider[providerName].headersJSON = '{}'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue