- Check process_running and ready state before making inference request
- Emit descriptive error messages for each failure scenario
- Handle local vs remote connection modes appropriately
- Validation score: 100 (was 0)
Result: {"status":"keep","validation_score":100,"response_time_ms":500}
38 lines
863 B
TOML
38 lines
863 B
TOML
[workspace]
|
|
|
|
[package]
|
|
name = "forgelm-chat"
|
|
version = "0.1.0"
|
|
description = "ForgeLM Chat — Local LLM Desktop Client"
|
|
authors = []
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "forgelm_chat_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
[[bin]]
|
|
name = "forgelm-chat"
|
|
path = "src/main.rs"
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
tauri = { version = "2", features = [] }
|
|
tauri-plugin-shell = "2"
|
|
tauri-plugin-dialog = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls", "blocking"] }
|
|
tracing = "0.1"
|
|
tokio = { version = "1", features = ["fs", "io-util", "sync", "time"] }
|
|
runtime-deps = { path = "../../crates/runtime-deps" }
|
|
|
|
[profile.release]
|
|
panic = "abort"
|
|
codegen-units = 1
|
|
lto = true
|
|
opt-level = "s"
|
|
strip = true
|