jammi-cli 0.14.0

Command-line interface for Jammi AI
1
2
3
4
5
6
7
8
9
10
11
use jammi_db::config::JammiConfig;
use jammi_server::runtime::OssServer;

/// `jammi serve` — delegate to the OSS server's runtime. The CLI keeps
/// the friendly subcommand surface; the server orchestration lives in
/// `jammi-server::runtime` so the `jammi-server` binary and the CLI
/// share one entry-point.
pub async fn run(config: JammiConfig) -> Result<(), Box<dyn std::error::Error>> {
    OssServer::new(config).await?.run().await?;
    Ok(())
}