2 files changed
+8
-3
crates/smbcloud-gresiq-sdk/src/onde_apps.rs
+5
-2
@@ -172,10 +172,13 @@ pub async fn list_models(
172
.header("Content-Type", "application/json")
173
.send()
174
.await?;
175
- Ok(check(response).await?.json::<ModelsEnvelope>().await?.models)
175
+ Ok(check(response)
176
+ .await?
177
+ .json::<ModelsEnvelope>()
178
+ .await?
179
+ .models)
180
}
181
178
-
182
/// Rename an existing app.
183
///
184
/// `PATCH /v1/client/gresiq/apps/{onde_app_id}` — body: `{ "gresiq_app": { "name": "..." } }`
crates/smbcloud-gresiq-sdk/src/smbcloud_gresiq_sdk.rs
+3
-1
@@ -43,5 +43,7 @@ mod onde_apps;
43
pub use client::GresiqClient;
44
pub use client_credentials::{base_url, GresiqCredentials};
45
pub use error::GresiqError;
46
-pub use onde_apps::{assign_model, create_app, list_apps, list_models, rename_app, OndeApp, OndeModel};
46
+pub use onde_apps::{
47
+ assign_model, create_app, list_apps, list_models, rename_app, OndeApp, OndeModel,
48
+};
49
pub use smbcloud_network::environment::Environment;