Skip to content

Commit 352ff4d

Browse files
fix(tauri): remove unused LmStudioCli::load wrapper
All LM Studio load paths use load_with_options directly (persistent or TTL for router hopper); the thin load helper was dead code. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent aa62883 commit 352ff4d

5 files changed

Lines changed: 4 additions & 8 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bright-vision",
3-
"version": "0.2.6",
3+
"version": "0.3.0",
44
"private": true,
55
"type": "module",
66
"workspaces": [

src-tauri/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bright-vision"
3-
version = "0.2.6"
3+
version = "0.3.0"
44
description = "BrightVision — local LLM desktop IDE (Tauri + cecli)"
55
authors = ["Digital Defiance"]
66
edition = "2021"

src-tauri/src/local_llm_runtime.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -511,10 +511,6 @@ impl LmStudioCli {
511511
}
512512
}
513513

514-
async fn load(model_key: &str) -> Result<(), String> {
515-
Self::load_with_options(model_key, LmStudioLoadOptions::persistent(model_key)).await
516-
}
517-
518514
async fn unload_all() -> Result<(), String> {
519515
let output = Command::new("lms")
520516
.args(["unload", "--all"])

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"productName": "BrightVision",
33
"mainBinaryName": "BrightVision",
4-
"version": "0.2.6",
4+
"version": "0.3.0",
55
"identifier": "com.digitaldefiance.bright-vision",
66
"build": {
77
"frontendDist": "../dist",

0 commit comments

Comments
 (0)