Преглед изворни кода

pagePath -> pagePathPatterns

Shun Miyazawa пре 1 година
родитељ
комит
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,
     }],