From 0a4c0413ef0154cde2e3485ec0415e6069596a23 Mon Sep 17 00:00:00 2001 From: sigoden Date: Wed, 24 Apr 2024 07:16:56 +0800 Subject: feat: serve all LLMs as OpenAI-compatible API (#431) --- src/cli.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cli.rs') diff --git a/src/cli.rs b/src/cli.rs index 7cfd09a..aff608a 100644 --- a/src/cli.rs +++ b/src/cli.rs @@ -15,6 +15,9 @@ pub struct Cli { /// Forces the session to be saved #[clap(long)] pub save_session: bool, + /// Serve all LLMs as OpenAI-compatible API + #[clap(long, value_name = "ADDRESS")] + pub serve: Option>, /// Execute commands in natural language #[clap(short = 'e', long)] pub execute: bool, -- cgit v1.2.3