Shun Miyazawa 1 год назад
Родитель
Сommit
c5e73e7dbf
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      apps/app/src/features/openai/server/models/ai-assistant.ts

+ 2 - 2
apps/app/src/features/openai/server/models/ai-assistant.ts

@@ -40,7 +40,7 @@ interface AiAssistant {
   name: string;
   description: string
   additionalInstruction: string
-  pagePaths: string[],
+  pagePathPatterns: string[],
   vectorStore: Ref<VectorStore>
   types: AiAssistantType[]
   owner: Ref<IUser>
@@ -74,7 +74,7 @@ const schema = new Schema<AiAssistantDocument>(
       required: true,
       default: '',
     },
-    pagePaths: [{
+    pagePathPatterns: [{
       type: String,
       required: true,
     }],