From acca9c3e000a12c2c47255118cf1133e3d28a8bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= Date: Thu, 6 Feb 2025 18:34:06 +0000 Subject: [PATCH] Remove Ngrok tunneling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrien Gallouët --- backends/llamacpp/src/main.rs | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/backends/llamacpp/src/main.rs b/backends/llamacpp/src/main.rs index e8aa579f..a8edc081 100644 --- a/backends/llamacpp/src/main.rs +++ b/backends/llamacpp/src/main.rs @@ -127,18 +127,6 @@ struct Args { #[clap(long, env)] cors_allow_origin: Option>, - /// Enable Ngrok tunneling. - #[clap(long, env)] - ngrok: bool, - - /// Ngrok authentication token. - #[clap(long, env)] - ngrok_authtoken: Option, - - /// Ngrok edge to use for tunneling. - #[clap(long, env)] - ngrok_edge: Option, - /// Path to the tokenizer configuration file. #[clap(long, env)] tokenizer_config_path: Option, @@ -269,9 +257,9 @@ async fn main() -> Result<(), RouterError> { args.hostname, args.port, args.cors_allow_origin, - args.ngrok, - args.ngrok_authtoken, - args.ngrok_edge, + false, // ngrok, + None, // ngrok_authtoken, + None, // ngrok_edge, args.disable_grammar_support, args.max_client_batch_size, args.usage_stats,