diff --git a/src-tauri/src/commands/llm.rs b/src-tauri/src/commands/llm.rs deleted file mode 100644 index b5b1411..0000000 --- a/src-tauri/src/commands/llm.rs +++ /dev/null @@ -1,53 +0,0 @@ -// LLM stubs — ONNX-based local LLM coming post-revenue. - -#[tauri::command] -pub fn check_llm_engine() -> Result { - Ok(false) -} - -#[tauri::command] -pub fn check_llm_model(_size: String) -> Result { - Ok(false) -} - -#[tauri::command] -pub fn list_llm_models() -> Result, String> { - Ok(vec![]) -} - -#[tauri::command] -pub async fn download_llm_model( - _app: tauri::AppHandle, - _size: String, -) -> Result { - Err("LLM not available yet — coming soon".into()) -} - -#[tauri::command] -pub async fn load_llm_model( - _size: String, -) -> Result { - Err("LLM not available yet — coming soon".into()) -} - -#[tauri::command] -pub async fn llm_generate( - _prompt: String, - _max_tokens: Option, -) -> Result { - Err("LLM not available yet — coming soon".into()) -} - -#[tauri::command] -pub async fn llm_extract_tasks( - _transcript: String, -) -> Result, String> { - Err("LLM not available yet — coming soon".into()) -} - -#[tauri::command] -pub async fn llm_format_transcript( - _transcript: String, -) -> Result { - Err("LLM not available yet — coming soon".into()) -} diff --git a/src-tauri/src/commands/mod.rs b/src-tauri/src/commands/mod.rs index 91b362a..d8b9d73 100644 --- a/src-tauri/src/commands/mod.rs +++ b/src-tauri/src/commands/mod.rs @@ -1,7 +1,6 @@ pub mod audio; pub mod clipboard; pub mod hardware; -pub mod llm; pub mod models; pub mod transcription; pub mod windows; diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index 0d4d78c..c1c486c 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -75,15 +75,6 @@ pub fn run() { // Hardware commands::hardware::probe_system, commands::hardware::rank_models, - // LLM stubs - commands::llm::download_llm_model, - commands::llm::check_llm_model, - commands::llm::list_llm_models, - commands::llm::load_llm_model, - commands::llm::check_llm_engine, - commands::llm::llm_generate, - commands::llm::llm_extract_tasks, - commands::llm::llm_format_transcript, ]) .run(tauri::generate_context!()) .expect("error while running Kon");