mirror of
https://github.com/cosmicoptima/loom.git
synced 2026-07-22 07:40:25 +00:00
aaaa
This commit is contained in:
parent
4f168b6619
commit
5efa943150
1 changed files with 1 additions and 0 deletions
1
main.ts
1
main.ts
|
|
@ -125,6 +125,7 @@ export default class LoomPlugin extends Plugin {
|
|||
|
||||
initializeProviders() {
|
||||
const preset = getPreset(this.settings);
|
||||
if (preset === undefined) return;
|
||||
|
||||
if (preset.provider === "openai") {
|
||||
this.openai = new OpenAIApi(new Configuration({
|
||||
|
|
|
|||
Loading…
Reference in a new issue