mirror of
https://github.com/baptisteArno/typebot.io.git
synced 2026-06-13 21:02:56 +08:00
🐛 Fix generateVariables custom auth base URL (#2339)
Closes #2236 a little bug fix --------- Co-authored-by: Baptiste Arnaud <baptiste@typebot.io> Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
9f5be48d57
commit
a500c1d88f
@ -13,6 +13,7 @@ export const generateVariablesHandler = createActionHandler(generateVariables, {
|
||||
return runGenerateVariables({
|
||||
model: createOpenAI({
|
||||
apiKey: credentials.apiKey,
|
||||
baseURL: credentials.baseUrl ?? options.baseUrl,
|
||||
compatibility: "strict",
|
||||
})(options.model),
|
||||
prompt: options.prompt,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user