Explorar o código

pagePath -> pagePathPatterns

Shun Miyazawa hai 1 ano
pai
achega
c5e73e7dbf
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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,
     }],