diff --git a/app/controller/app-center/aiChat.ts b/app/controller/app-center/aiChat.ts index 6435a5b..17824ec 100644 --- a/app/controller/app-center/aiChat.ts +++ b/app/controller/app-center/aiChat.ts @@ -21,6 +21,6 @@ export default class AiChatController extends Controller { ctx.helper.throwError('Not passing the correct message parameter'); } const model = foundationModel?.model ?? E_FOUNDATION_MODEL.GPT_35_TURBO; - ctx.body = await ctx.service.aiChat.getAnswerFromAi(messages, { model }); + ctx.body = await ctx.service.appCenter.aiChat.getAnswerFromAi(messages, { model }); } }