fix(core): update

This commit is contained in:
2024-05-17 17:38:35 +02:00
parent be53225bb1
commit 32f12c67cf
6 changed files with 4910 additions and 2946 deletions

View File

@@ -69,7 +69,9 @@ export class AiDoc {
}
// lets assume we have an OPENAI_Token now
this.openaiInstance = new plugins.smartai.OpenAiProvider(this.openaiToken);
this.openaiInstance = new plugins.smartai.OpenAiProvider({
openaiToken: this.openaiToken,
});
await this.openaiInstance.start();
}