@teachinglab/omd 0.1.6 → 0.1.7
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.
|
@@ -58,7 +58,7 @@ Do not include any explanation, LaTeX, or extra text. Only output the JSON objec
|
|
|
58
58
|
const baseURL = options.baseURL || 'https://generativelanguage.googleapis.com/v1beta/openai/';
|
|
59
59
|
const model = options.model || 'gemini-2.0-flash';
|
|
60
60
|
|
|
61
|
-
const client = new OpenAI({ apiKey, baseURL });
|
|
61
|
+
const client = new OpenAI({ apiKey, baseURL, dangerouslyAllowBrowser: true });
|
|
62
62
|
|
|
63
63
|
const messages = [
|
|
64
64
|
{
|