diff options
| author | sigoden <sigoden@gmail.com> | 2024-04-24 07:16:56 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-24 07:16:56 +0800 |
| commit | 0a4c0413ef0154cde2e3485ec0415e6069596a23 (patch) | |
| tree | 02527d5ee4b23b43a34bf90eeb817e1cc066d97c /src/cli.rs | |
| parent | 9c6c9f10a27d0993636b453f39d8934c95c5c2b2 (diff) | |
| download | aichat-0a4c0413ef0154cde2e3485ec0415e6069596a23.tar.gz | |
feat: serve all LLMs as OpenAI-compatible API (#431)
Diffstat (limited to 'src/cli.rs')
| -rw-r--r-- | src/cli.rs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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<Option<String>>, /// Execute commands in natural language #[clap(short = 'e', long)] pub execute: bool, |
