From 5daee21e2aa3d9f800b5b7e3a43aed4d5ca9c44f Mon Sep 17 00:00:00 2001 From: uukelele Date: Mon, 21 Apr 2025 09:18:38 +0100 Subject: [PATCH] tiniest bug fix --- src/agent/speak.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agent/speak.js b/src/agent/speak.js index fcfa001..22156f9 100644 --- a/src/agent/speak.js +++ b/src/agent/speak.js @@ -43,7 +43,7 @@ $s.Speak('${txt.replace(/'/g,"''")}'); $s.Dispose()"` [prov, mdl, voice] = model.split('/'); url = "https://text.pollinations.ai/openai"; } else { - prov = model.provider; + prov = model.api; mdl = model.model; voice = model.voice; url = model.url || "https://text.pollinations.ai/openai";