2
0
Yuki Takei 1 жил өмнө
parent
commit
3f12284420

+ 1 - 1
apps/app/src/features/openai/chat/components/AiChatModal/AiChatModal.tsx

@@ -56,7 +56,7 @@ const AiChatModalSubstance = (): JSX.Element => {
     const createThread = async() => {
     const createThread = async() => {
       // create thread
       // create thread
       try {
       try {
-        const res = await apiv3Post('/openai/thread', { threadId });
+        const res = await apiv3Post('/openai/thread');
         const thread = res.data.thread;
         const thread = res.data.thread;
 
 
         setThreadId(thread.id);
         setThreadId(thread.id);