@sigit / si Mirror · read-only
Fork 0

Mirror of github.com/getsigit/si.

Mirrored from https://github.com/getsigit/si.git

Synced Nov 24, 09:30 UTC

1 use {
2 crate::{context::Ctx, ui},
3 anyhow::Result,
4 };
5
6 /// The model list is public, so this works without signing in.
7 pub async fn run(ctx: &Ctx) -> Result<()> {
8 let models = ctx.client.models().await?;
9 ui::emit(ctx.json, &models, |models| ui::render::models(models))
10 }