mirror of
https://github.com/7836246/cursor2api.git
synced 2026-05-30 10:29:41 +08:00
- Added 9 English topic refusal patterns (e.g. \"help with coding and Cursor IDE\", \"unrelated to programming or Cursor\", \"Cursor-related question\") - Added 3 Chinese topic refusal patterns - Enhanced sanitizeResponse with topic-refusal text replacement: - \"Cursor IDE features\" → \"AI capabilities\" - \"unrelated to programming or Cursor\" → \"a general knowledge question\" - \"Cursor or coding documentation\" → \"relevant documentation\" - Straggler \"and Cursor\" / \"or Cursor\" cleanup - Fixed double-word artifacts in sanitization output - Removed overly broad /unable\\s+to/i pattern to reduce false positives