diff --git a/src/hooks/useGenerateProjectInfo.ts b/src/hooks/useGenerateProjectInfo.ts index 6a12dd0b..4fc39d00 100644 --- a/src/hooks/useGenerateProjectInfo.ts +++ b/src/hooks/useGenerateProjectInfo.ts @@ -178,7 +178,7 @@ You MUST call either start_project or start_chat based on the user's intent.`; // Validate the chat name - allow most characters except filesystem-invalid ones // Invalid characters: / \ : * ? " < > | - const invalidCharsRegex = /[\/\\:*?"<>|]/; + const invalidCharsRegex = /[/\\:*?"<>|]/; if (chatName && chatName.length >= 2 && chatName.length <= 50 && !invalidCharsRegex.test(chatName)) { return {