@ -18,7 +18,7 @@
|
||||
"@typebot.io/tsconfig": "workspace:*",
|
||||
"@typebot.io/variables": "workspace:*",
|
||||
"@udecode/plate-common": "21.1.5",
|
||||
"ai": "2.2.31",
|
||||
"ai": "2.2.33",
|
||||
"chrono-node": "2.7.0",
|
||||
"date-fns": "2.30.0",
|
||||
"google-auth-library": "8.9.0",
|
||||
@ -27,7 +27,7 @@
|
||||
"libphonenumber-js": "1.10.37",
|
||||
"node-html-parser": "6.1.5",
|
||||
"nodemailer": "6.9.3",
|
||||
"openai": "4.24.1",
|
||||
"openai": "4.26.0",
|
||||
"qs": "6.11.2",
|
||||
"stripe": "12.13.0"
|
||||
},
|
||||
|
@ -13,7 +13,7 @@
|
||||
"typescript": "5.3.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@mistralai/mistralai": "^0.0.10",
|
||||
"ai": "2.2.31"
|
||||
"@mistralai/mistralai": "0.0.10",
|
||||
"ai": "2.2.33"
|
||||
}
|
||||
}
|
||||
|
@ -230,7 +230,7 @@ export const createChatCompletion = createAction({
|
||||
? Number(options.temperature)
|
||||
: undefined,
|
||||
messages,
|
||||
tools,
|
||||
tools: (tools?.length ?? 0) > 0 ? tools : undefined,
|
||||
}
|
||||
|
||||
let totalTokens = 0
|
||||
@ -329,7 +329,7 @@ export const createChatCompletion = createAction({
|
||||
: undefined,
|
||||
stream: true,
|
||||
messages,
|
||||
tools,
|
||||
tools: (tools?.length ?? 0) > 0 ? tools : undefined,
|
||||
})
|
||||
|
||||
return OpenAIStream(response, {
|
||||
|
@ -7,8 +7,8 @@
|
||||
"author": "Baptiste Arnaud",
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"ai": "2.2.31",
|
||||
"openai": "4.24.1"
|
||||
"ai": "2.2.33",
|
||||
"openai": "4.26.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typebot.io/forge": "workspace:*",
|
||||
|
Reference in New Issue
Block a user