openlayer 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -248,7 +248,10 @@ class OpenAIMonitor {
|
|
|
248
248
|
}
|
|
249
249
|
return response;
|
|
250
250
|
});
|
|
251
|
-
this.OpenAIClient = new openai_1.default({
|
|
251
|
+
this.OpenAIClient = new openai_1.default({
|
|
252
|
+
apiKey: openAiApiKey,
|
|
253
|
+
dangerouslyAllowBrowser: true,
|
|
254
|
+
});
|
|
252
255
|
this.openlayerApiKey = openlayerApiKey;
|
|
253
256
|
this.openlayerInferencePipelineName = openlayerInferencePipelineName;
|
|
254
257
|
this.openlayerProjectName = openlayerProjectName;
|