yusyus
13838cb5a9
feat(cli): Phase 2 - Organize RAG arguments into common.py (DRY principle)
...
Changes:
- Added RAG_ARGUMENTS dict to common.py with 3 flags:
- --chunk-for-rag (enable semantic chunking)
- --chunk-size (default: 512 tokens)
- --chunk-overlap (default: 50 tokens)
- Removed duplicate RAG arguments from create.py and scrape.py
- Used .update() pattern to merge RAG_ARGUMENTS into UNIVERSAL_ARGUMENTS and SCRAPE_ARGUMENTS
- Added helper functions: add_rag_arguments(), get_rag_argument_names()
- Updated tests to reflect new argument count (15 → 13 universal arguments)
- Fixed test expectations for boolean_args (removed 'enhance', 'enhance_local')
Result:
- Single source of truth for RAG arguments in common.py
- DRY principle maintained across all commands
- All 88 key tests passing
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com >
2026-02-15 14:41:04 +03:00
..
2025-10-29 23:19:32 +03:00
2026-02-08 14:42:27 +03:00
2025-10-19 02:08:58 +03:00
2026-01-17 23:02:11 +03:00
2026-02-07 22:55:02 +03:00
2025-10-19 17:01:37 +03:00
2026-02-08 14:42:27 +03:00
2026-02-15 14:29:19 +03:00
2026-01-31 21:30:00 +03:00
2026-01-17 17:48:15 +00:00
2026-01-18 00:01:30 +03:00
2026-02-08 13:34:48 +03:00
2026-02-08 14:49:45 +03:00
2026-01-17 23:02:11 +03:00
2026-01-29 22:56:33 +03:00
2026-01-17 23:25:12 +03:00
2026-02-08 14:42:27 +03:00
2026-02-15 14:29:19 +03:00
2026-02-08 15:00:32 +03:00
2026-02-15 14:29:19 +03:00
2026-02-08 14:42:27 +03:00
2026-01-17 17:29:21 +00:00
2026-02-05 21:27:41 +03:00
2026-01-17 23:02:11 +03:00
2026-01-31 21:30:00 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 17:48:15 +00:00
2026-02-15 14:41:04 +03:00
2026-02-15 14:29:19 +03:00
2026-01-17 22:54:40 +03:00
2026-01-17 23:02:11 +03:00
2026-02-08 14:49:45 +03:00
2026-02-08 14:49:45 +03:00
2026-02-08 14:42:27 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 23:02:11 +03:00
2026-02-08 14:42:27 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 23:02:11 +03:00
2026-01-17 23:02:11 +03:00
2026-01-17 23:02:11 +03:00
2026-01-18 00:01:30 +03:00
2026-01-18 00:01:30 +03:00
2026-01-31 21:30:00 +03:00
2026-02-08 14:42:27 +03:00
2026-01-18 00:01:30 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 23:02:11 +03:00
2026-01-17 17:48:15 +00:00
2026-02-08 14:42:27 +03:00
2026-02-08 14:42:27 +03:00
2026-01-18 12:11:01 +03:00
2026-02-08 14:42:27 +03:00
2026-01-17 17:29:21 +00:00
2026-01-17 23:02:11 +03:00
2026-01-18 00:01:30 +03:00
2026-01-17 17:29:21 +00:00
2026-01-17 23:33:34 +03:00
2026-01-17 23:02:11 +03:00
2026-01-17 23:02:11 +03:00
2026-02-08 14:44:46 +03:00
2026-02-07 20:59:03 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 17:48:15 +00:00
2026-02-08 14:42:27 +03:00
2026-01-17 17:48:15 +00:00
2026-02-08 15:00:32 +03:00
2026-01-17 17:48:15 +00:00
2026-02-15 14:29:19 +03:00
2026-02-08 13:33:15 +03:00
2026-01-17 22:54:40 +03:00
2026-02-04 21:00:49 +03:00
2026-01-27 21:11:04 +03:00
2026-01-17 17:29:21 +00:00
2026-02-08 14:42:27 +03:00
2026-01-17 17:48:15 +00:00
2026-02-08 14:42:27 +03:00
2026-02-08 14:42:27 +03:00
2026-01-17 17:48:15 +00:00
2026-01-17 23:02:11 +03:00
2026-01-17 17:48:15 +00:00
2026-02-08 14:42:27 +03:00
2026-01-18 13:48:37 +03:00
2026-01-18 00:01:30 +03:00
2026-01-17 23:02:11 +03:00
2026-02-15 14:29:19 +03:00
2026-01-17 23:02:11 +03:00
2026-02-08 14:42:27 +03:00
2026-01-17 23:02:11 +03:00
2026-01-17 23:02:11 +03:00
2026-02-02 23:08:25 +03:00
2026-01-17 23:02:11 +03:00
2026-01-17 22:54:40 +03:00
2026-02-08 03:15:25 +03:00
2026-02-08 14:42:27 +03:00
2026-01-17 17:48:15 +00:00
2026-02-08 14:42:27 +03:00
2026-01-17 17:29:21 +00:00