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

Method ask_continue

cli/cli_interface.py:928–933  ·  view source on GitHub ↗

Ask if user wants to continue with another paper

(self)

Source from the content-addressed store, hash-verified

926 return proceed == "y"
927
928 def ask_continue(self) -> bool:
929 """Ask if user wants to continue with another paper"""
930 self.print_separator("─", 79, Colors.YELLOW)
931 print(f"\n{Colors.BOLD}{Colors.YELLOW}🔄 Process another paper?{Colors.ENDC}")
932 choice = input(f"{Colors.OKCYAN}Continue? (y/n): {Colors.ENDC}").strip().lower()
933 return choice in ["y", "yes", "1", "true"]
934
935 def add_to_history(self, input_source: str, result: dict):
936 """Add processing result to history"""

Callers 1

Calls 1

print_separatorMethod · 0.95

Tested by

no test coverage detected