mirror of
https://github.com/theroyallab/tabbyAPI.git
synced 2026-03-15 00:07:28 +00:00
Args: Add api-servers to parser
Also run OpenAPI export after args/config are parsed. Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
@@ -72,6 +72,12 @@ def add_network_args(parser: argparse.ArgumentParser):
|
||||
type=str_to_bool,
|
||||
help="Decide whether to send error tracebacks over the API",
|
||||
)
|
||||
network_group.add_argument(
|
||||
"--api-servers",
|
||||
type=str,
|
||||
nargs="+",
|
||||
help="API servers to enable. Options: (OAI, Kobold)",
|
||||
)
|
||||
|
||||
|
||||
def add_model_args(parser: argparse.ArgumentParser):
|
||||
|
||||
Reference in New Issue
Block a user