diff --git a/frontend/src/hook/useAi.ts b/frontend/src/hook/useAi.ts index 2c16dc4..664d769 100644 --- a/frontend/src/hook/useAi.ts +++ b/frontend/src/hook/useAi.ts @@ -26,7 +26,8 @@ export async function askAi(question: any, action: string) { const postMsg: any = { messages: [ { - role: "assistant", + //role: "assistant", + role: "user", content: prompt }, ],