Shun Miyazawa 1 год назад
Родитель
Сommit
4fb5e78dda
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      apps/app/src/features/openai/client/stores/thread.tsx

+ 1 - 1
apps/app/src/features/openai/client/stores/thread.tsx

@@ -6,7 +6,7 @@ import { apiv3Get } from '~/client/util/apiv3-client';
 
 import type { IThreadRelationHasId } from '../../interfaces/thread-relation';
 
-const getKey = (aiAssistantId: string) => [`openai/threads/${aiAssistantId}`];
+const getKey = (aiAssistantId: string) => [`/openai/threads/${aiAssistantId}`];
 
 export const useSWRxThreads = (aiAssistantId: string): SWRResponse<IThreadRelationHasId[], Error> => {
   const key = getKey(aiAssistantId);