Skip to content

Commit dc60525

Browse files
authored
fix(kb): removed filename constraint from knowledgebase doc names (#1527)
1 parent 4adbae0 commit dc60525

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

apps/sim/tools/knowledge/create_document.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,6 @@ export const knowledgeCreateDocumentTool: ToolConfig<any, KnowledgeCreateDocumen
8282
if (documentName.length > 255) {
8383
throw new Error('Document name must be 255 characters or less')
8484
}
85-
if (/[<>:"/\\|?*]/.test(documentName)) {
86-
throw new Error('Document name contains invalid characters. Avoid: < > : " / \\ | ? *')
87-
}
8885
if (!textContent || textContent.length < 1) {
8986
throw new Error('Document content cannot be empty')
9087
}

0 commit comments

Comments
 (0)