Discover Playerbot Characters models from the provider

This commit is contained in:
Nightwalker743 committed 2026-11-20 16:41:03 -06:00
1 parent 206d4844c9
commit 6f1eaac719
13 files changed
+633 -32

No files matched your search

+11
View File
@@ -1719,6 +1719,16 @@ async fn pbc_connection(
blocking(move || coa_core::modules::pbc::load(&root)).await
}
#[tauri::command]
async fn pbc_list_models(
state: State<'_, AppState>,
id: String,
request: coa_core::modules::pbc::models::Request,
) -> std::result::Result<Vec<coa_core::modules::pbc::models::Model>, UiError> {
let root = path_of(&state, &id)?;
blocking(move || coa_core::modules::pbc::models::list(&root, request)).await
}
#[tauri::command]
async fn pbc_save_connection(
state: State<'_, AppState>,
@@ -3242,6 +3252,7 @@ pub fn run() {
module_set_enabled,
module_settings,
pbc_connection,
pbc_list_models,
pbc_save_connection,
module_save_settings,
all_settings,