Skip to content

Commit

Permalink
optional
Browse files Browse the repository at this point in the history
  • Loading branch information
miya committed Dec 17, 2024
1 parent 3fc841c commit df996cb
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/app/src/features/openai/server/models/ai-assistant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ interface AiAssistant {
vectorStoreId: string // VectorStoreId of OpenAI Specify (https://platform.openai.com/docs/api-reference/vector-stores/object)
types: AiAssistantType[]
creator: Ref<IUser>
grantedGroups: IGrantedGroup[];
grantedGroups?: IGrantedGroup[];
pages: Ref<IPage>[]
sharingScope: AiAssistantSharingScope
learningScope: AiAssistantLearningScope
Expand Down Expand Up @@ -108,7 +108,6 @@ const schema = new Schema<AiAssistantDocument>(
return arr.length === uniqueItemValues.size;
}, 'grantedGroups contains non unique item'],
default: [],
required: true,
},
sharingScope: {
type: String,
Expand Down

0 comments on commit df996cb

Please sign in to comment.