Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

fix: outdated test

Louis89e5bba1f8fe
diff --git a/src-tauri/plugins/tauri-plugin-llamacpp/src/args.rs b/src-tauri/plugins/tauri-plugin-llamacpp/src/args.rs
index 83ef7c7e0..0fc26a539 100644
--- a/src-tauri/plugins/tauri-plugin-llamacpp/src/args.rs
+++ b/src-tauri/plugins/tauri-plugin-llamacpp/src/args.rs
@@ -704,17 +704,6 @@ mod tests {
assert_no_flag(&args, "--no-kv-offload");
}
- #[test]
- fn test_ctx_size_default_not_added() {
- let mut config = default_config();
- config.ctx_size = 8192;
-
- let builder = ArgumentBuilder::new(config, false).unwrap();
- let args = builder.build("test", "/path", 8080, None);
-
- assert_no_flag(&args, "--ctx-size");
- }
-
#[test]
fn test_ctx_size_custom_value() {
let mut config = default_config();