Skip to content

Commit 52be6d8

Browse files
committed
aiChat is undefined
1 parent 0a84bb7 commit 52be6d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/controller/app-center/aiChat.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ export default class AiChatController extends Controller {
2121
ctx.helper.throwError('Not passing the correct message parameter');
2222
}
2323
const model = foundationModel?.model ?? E_FOUNDATION_MODEL.GPT_35_TURBO;
24-
ctx.body = await ctx.service.aiChat.getAnswerFromAi(messages, { model });
24+
ctx.body = await ctx.service.appCenter.aiChat.getAnswerFromAi(messages, { model });
2525
}
2626
}

0 commit comments

Comments
 (0)