File size: 4,912 Bytes
dc9e27a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
en:
  SCRIPT_DIR: "Script directory: %{dir}"
  PROJECT_ROOT: "Project root directory: %{dir}"
  TEMP_DIR: "Temporary directory: %{dir}"
  DOCKER_LAUNCHER_START: "Starting Docker launcher process"
  DOCKER_LAUNCHER_COMPLETE: "Docker launcher process completed"
  DIR_CREATED: "Directory created: %{dir}"
  FILE_COPIED: "Copied %{file} to the temp directory"
  FILE_NOT_FOUND: "Error: %{file} not found in the templates directory"
  CONTAINERS_STOPPED: "Existing containers and volumes stopped and removed"
  CONTAINER_STOP_ERROR: "Error stopping and removing containers (this may be normal if there were no running containers): %{error}"
  BUILDING_IMAGES: "Starting to build Docker images..."
  IMAGES_BUILT: "Docker images built successfully"
  STARTING_CONTAINERS: "Starting Docker containers..."
  STARTING_CONTAINERS_WITH_BUILD: "Starting to build and start Docker containers..."
  CONTAINERS_STARTED: "Docker containers started successfully"
  DOCKER_ERROR: "Error while building or starting Docker containers: %{error}"
  DOCKER_OUTPUT: "Docker command output:"
  DOCKER_INSTALLED: "Docker and Docker Compose installed correctly"
  DOCKER_INSTALL_ERROR: "Error: Docker or Docker Compose may not be installed correctly: %{error}"
  DOCKER_NOT_FOUND: "Error: Docker or Docker Compose command not found. Please ensure they are correctly installed and added to the PATH."
  DOCKER_COMPOSE_NOT_FOUND: "Error: Docker Compose command not found. Please ensure it is correctly installed and added to the PATH."
  PATHS_UPDATED: "Paths updated in docker-compose.yaml"
  COMPOSE_FILE_CONTENT: "docker-compose.yaml file content:"
  COMPOSE_FILE_NOT_FOUND: "Error: %{file} file not found"
  COMPOSE_FILE_READ_ERROR: "Error reading docker-compose.yaml file: %{error}"
  TERMINATION_SIGNAL: "Termination signal caught. Exiting gracefully..."
  KEYBOARD_INTERRUPT: "Keyboard interrupt caught. Exiting gracefully..."
  UNEXPECTED_ERROR: "An unexpected error occurred: %{error}"
  BACKEND_LANGUAGE_CHOICE: "Select MindSearch backend language (default is cn)"
  CHINESE: "Chinese (cn)"
  ENGLISH: "English (en)"
  MODEL_DEPLOYMENT_TYPE: "Select model deployment type:"
  CLOUD_MODEL: "Cloud model"
  LOCAL_MODEL: "Local model"
  MODEL_FORMAT_CHOICE: "Select model format:"
  CONFIRM_USE_EXISTING_API_KEY: "Do you want to use the existing %{ENV_VAR_NAME} API key?"
  CONFIRM_OVERWRITE_EXISTING_API_KEY: "Do you want to overwrite the existing %{ENV_VAR_NAME} API key?"
  PLEASE_INPUT_NEW_API_KEY: "Please enter a new %{ENV_VAR_NAME} API key:"
  PLEASE_INPUT_NEW_API_KEY_FROM_ZERO: "Please enter a new %{ENV_VAR_NAME} API key:"
  INVALID_API_KEY_FORMAT: "Invalid API key format"
  RETRY_API_KEY_INPUT: "Retry API key input"
  API_KEY_INPUT_CANCELLED: "API key input cancelled"
  UNKNOWN_API_KEY_TYPE: "Unknown API key type: %{KEY_TYPE}"
  UNKNOWN_MODEL_FORMAT: "Unknown model format: %{MODEL_FORMAT}"
  INVALID_API_KEY: "Invalid API key: %{KEY_TYPE}"
  API_KEY_SAVED: "API key for %{ENV_VAR_NAME} saved"
  UNKNOWN_DOCKERFILE: "Unknown Dockerfile: %{dockerfile}"
  UNKNOWN_MODEL_TYPE: "Unknown model type: %{model_type}"
  BACKEND_DOCKERFILE_COPIED: "Backend Dockerfile copied from %{source_path} to %{dest_path}"
  FRONTEND_DOCKERFILE_COPIED: "Frontend Dockerfile copied from %{source_path} to %{dest_path}"
  TEMP_DIR_CREATED: "Temporary directory created at %{dir}"
  CURRENT_COMPOSE_STOP_FAILED: "Current containers stop failed"
  CONTAINER_STOPPED_AND_REMOVED: "Container stopped and removed"
  NETWORKS_PRUNED: "Corresponding Docker networks pruned"
  NETWORK_PRUNE_ERROR: "Error pruning corresponding Docker networks: %{error}"
  DOCKER_LIST_ERROR: "Error listing Docker containers: %{error}"
  CONTAINERS_STOPPED_AND_REMOVED: "Docker containers stopped and removed"
  CLI_DESCRIPTION: "MindSearch Docker Launcher - A tool to manage MindSearch docker containers"
  LANGUAGE_HELP: "Set the msdl tool interface language (e.g. en, zh_CN)"
  CONFIG_LANGUAGE_HELP: "Show language configuration prompt"
  LANGUAGE_NOT_AVAILABLE: "Warning: Language '%{lang}' not available. Using English instead."
  SELECT_INTERFACE_LANGUAGE: "Select msdl tool interface language"
  SELECT_BACKEND_LANGUAGE: "Select MindSearch backend language (default is cn)"
  LANGUAGE_CHANGED_RESTARTING: "Language changed, restarting msdl..."
  SELECT_SEARCH_ENGINE: "Select search engine:"
  NO_API_KEY_NEEDED: "No API key needed"
  API_KEY_REQUIRED: "API key required"
  SEARCH_ENGINE_GOOGLE: "Google Search"
  SEARCH_ENGINE_BING: "Bing Search"
  SEARCH_ENGINE_DUCKDUCKGO: "DuckDuckGo Search"
  SEARCH_ENGINE_BRAVE: "Brave Search"
  SEARCH_ENGINE_TENCENT: "Tencent Search"
  TENCENT_ID_REQUIRED: "Please enter your Tencent Search Secret ID"
  TENCENT_KEY_REQUIRED: "Please enter your Tencent Search Secret Key"
  WEB_SEARCH_KEY_REQUIRED: "Please enter your Web Search API Key"
  SEARCH_ENGINE_CONFIGURED: "Search engine %{engine} configured successfully"