AlpinDale преди 7 месеца
родител
ревизия
21396977b2
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  1. 5 0
      aphrodite/endpoints/openai/args.py

+ 5 - 0
aphrodite/endpoints/openai/args.py

@@ -63,6 +63,11 @@ def make_arg_parser(parser: FlexibleArgumentParser) -> FlexibleArgumentParser:
                         default=None,
                         help="If provided, the server will require this key "
                         "to be presented in the header.")
+    parser.add_argument("--admin-key",
+                        type=str,
+                        default=None,
+                        help="If provided, the server will require this key "
+                        "to be presented in the header for admin operations.")
     parser.add_argument(
         "--lora-modules",
         type=str,