mod utils; use std::error::Error; use utils::get_tls_options; use aristech_stt_client::{get_client, get_models}; #[tokio::main] async fn main() -> Result<(), Box> { // Load environment variables from .env file dotenv::dotenv().ok(); let host = std::env::var("HOST")?; let tls_options = get_tls_options()?; let mut client = get_client(host, tls_options).await?; let response = get_models(&mut client, None).await?; for model in response.model { println!("{:?}", model); } Ok(()) }