MCPcopy
hub / github.com/HKUDS/DeepCode / show_configuration_menu

Method show_configuration_menu

cli/cli_interface.py:964–1053  ·  view source on GitHub ↗

Show configuration options menu

(self)

Source from the content-addressed store, hash-verified

962 self.print_separator("─", 79, Colors.CYAN)
963
964 def show_configuration_menu(self):
965 """Show configuration options menu"""
966 self.clear_screen()
967
968 # Get segmentation config status
969 segmentation_enabled = getattr(self, "segmentation_enabled", True)
970 segmentation_threshold = getattr(self, "segmentation_threshold", 50000)
971
972 print(f"""
973{Colors.BOLD}{Colors.CYAN}╔═══════════════════════════════════════════════════════════════════════════════╗
974║ CONFIGURATION MENU ║
975╠═══════════════════════════════════════════════════════════════════════════════╣
976║ ║
977║ {Colors.BOLD}🤖 Agent Orchestration Engine Configuration{Colors.CYAN} ║
978║ ║
979║ {Colors.OKCYAN}[1] Pipeline Mode:{Colors.CYAN} ║
980║ {Colors.BOLD}🧠 Comprehensive Mode{Colors.CYAN} - Full intelligence analysis (Default) ║
981║ ✓ Research Analysis + Resource Processing ║
982║ ✓ Reference Intelligence Discovery ║
983║ ✓ Automated Repository Acquisition ║
984║ ✓ Codebase Intelligence Orchestration ║
985║ ✓ Intelligent Code Implementation Synthesis ║
986║ ║
987║ {Colors.BOLD}⚡ Optimized Mode{Colors.CYAN} - Fast processing (Skip indexing) ║
988║ ✓ Research Analysis + Resource Processing ║
989║ ✓ Code Architecture Synthesis ║
990║ ✓ Intelligent Code Implementation Synthesis ║
991║ ✗ Reference Intelligence Discovery (Skipped) ║
992║ ✗ Repository Acquisition (Skipped) ║
993║ ✗ Codebase Intelligence Orchestration (Skipped) ║
994║ ║
995║ {Colors.OKCYAN}[2] Document Processing:{Colors.CYAN} ║
996║ {Colors.BOLD}📄 Smart Segmentation{Colors.CYAN} - Intelligent document analysis (Default) ║
997║ ✓ Semantic boundary detection ║
998║ ✓ Algorithm integrity preservation ║
999║ ✓ Formula chain recognition ║
1000║ ✓ Adaptive character limits ║
1001║ ║
1002║ {Colors.BOLD}📋 Traditional Processing{Colors.CYAN} - Full document reading ║
1003║ ✓ Complete document analysis ║
1004║ ✗ Smart segmentation (Disabled) ║
1005║ ║
1006║ {Colors.YELLOW}Current Settings:{Colors.CYAN} ║
1007║ Pipeline: {'🧠 Comprehensive Mode' if self.enable_indexing else '⚡ Optimized Mode'} ║
1008║ Document: {'📄 Smart Segmentation' if segmentation_enabled else '📋 Traditional Processing'} ║
1009║ Threshold: {segmentation_threshold} characters ║
1010║ ║
1011║ {Colors.OKGREEN}[T] Toggle Pipeline {Colors.BLUE}[S] Toggle Segmentation {Colors.FAIL}[B] Back{Colors.CYAN} ║
1012╚═══════════════════════════════════════════════════════════════════════════════╝{Colors.ENDC}
1013""")
1014
1015 while True:
1016 print(
1017 f"\n{Colors.BOLD}{Colors.OKCYAN}➤ Configuration choice: {Colors.ENDC}",
1018 end="",
1019 )
1020 choice = input().strip().lower()
1021

Callers 1

Calls 3

clear_screenMethod · 0.95
print_statusMethod · 0.95

Tested by

no test coverage detected