File tree Expand file tree Collapse file tree
services/item/plugins/app/chatBot Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6666 "@fastify/type-provider-typebox" : " 5.1.0" ,
6767 "@fastify/websocket" : " 11.0.2" ,
6868 "@graasp/etherpad-api" : " 2.1.1" ,
69- "@graasp/sdk" : " 5.15 .0" ,
69+ "@graasp/sdk" : " 5.16 .0" ,
7070 "@graasp/translations" : " 1.44.0" ,
7171 "@rapideditor/country-coder" : " 5.4.0" ,
7272 "@sentry/node" : " 7.119.2" ,
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ describe('Chat Bot Tests', () => {
202202 const chosenApp = apps [ 0 ] ;
203203
204204 const token = await getAccessToken ( app , item , chosenApp ) ;
205- const gptVersion = GPTVersion . GPT_4_1_NANO ;
205+ const gptVersion = GPTVersion . GPT_5_MINI ;
206206 const response = await app . inject ( {
207207 method : HttpMethod . Post ,
208208 url : `${ APP_ITEMS_PREFIX } /${ item . id } /${ CHAT_PATH } ?gptVersion=${ gptVersion } ` ,
Original file line number Diff line number Diff line change @@ -226,7 +226,7 @@ const getGptVersion = (): GPTVersionType => {
226226 if ( ( Object . values ( GPTVersion ) as string [ ] ) . includes ( GPTVersionEnv ) ) {
227227 return GPTVersionEnv as GPTVersionType ;
228228 }
229- return GPTVersion . GPT_4_O_MINI ;
229+ return GPTVersion . GPT_5_NANO ;
230230} ;
231231export const OPENAI_GPT_VERSION = getGptVersion ( ) ;
232232export const OPENAI_API_KEY = process . env . OPENAI_API_KEY ;
Original file line number Diff line number Diff line change @@ -2592,17 +2592,17 @@ __metadata:
25922592 languageName: node
25932593 linkType: hard
25942594
2595- "@graasp/sdk@npm:5.15 .0":
2596- version: 5.15 .0
2597- resolution: "@graasp/sdk@npm:5.15 .0"
2595+ "@graasp/sdk@npm:5.16 .0":
2596+ version: 5.16 .0
2597+ resolution: "@graasp/sdk@npm:5.16 .0"
25982598 dependencies:
25992599 "@faker-js/faker": "npm:9.7.0"
26002600 filesize: "npm:10.1.6"
26012601 js-cookie: "npm:3.0.5"
26022602 peerDependencies:
26032603 date-fns: ^3 || ^4.0.0
26042604 uuid: ^9 || ^10 || ^11.0.0
2605- checksum: 10/ec0508f68b4414fb9ae5f5f0b91fb3eeb6f333c83110e3d2bc689e9b4883f63f013cd74da8d64907200e67d8cf45731033a8861ca625a861a5e54ec684b8c2f9
2605+ checksum: 10/51f9396375d3d7d040212f58512977edd81cce4e865e41fe646f8cb894f861bff849126588163cb4896ec77dcd52fd076297590fa1062a985c7d01ad19bb62c4
26062606 languageName: node
26072607 linkType: hard
26082608
@@ -8663,7 +8663,7 @@ __metadata:
86638663 "@fastify/type-provider-typebox": "npm:5.1.0"
86648664 "@fastify/websocket": "npm:11.0.2"
86658665 "@graasp/etherpad-api": "npm:2.1.1"
8666- "@graasp/sdk": "npm:5.15 .0"
8666+ "@graasp/sdk": "npm:5.16 .0"
86678667 "@graasp/translations": "npm:1.44.0"
86688668 "@jest/globals": "npm:29.7.0"
86698669 "@quobix/vacuum": "npm:0.18.5"
You can’t perform that action at this time.
0 commit comments