Skip to content

Commit

Permalink
updates for version bump to 0.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dezoito committed Jul 11, 2024
1 parent 1992c94 commit b1bdae0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "grid-search-desktop"
version = "0.5.0"
version = "0.5.1"
description = "A Tauri App to perform Grid Search and A/B testing experiments on LLMs"
authors = ["dezoito"]
license = "Whatever is in the repo"
Expand All @@ -23,7 +23,7 @@ url = "2.5.0"
tauri-plugin-single-instance = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
# The feature "rustls" is added due to issues with OpenSSL on Linux releases
# See https://github.com/tauri-apps/tauri/issues/4470#issuecomment-1170342732
ollama-rs = { version = "0.1.9", default-features = false, features = ["rustls"] }
ollama-rs = { version = "0.2.0", default-features = false, features = ["rustls"] }
chrono = "0.4.38"
reqwest = {version = "0.12.4", features = ["blocking", "json", "rustls-tls"], default-features = false }

Expand Down
6 changes: 3 additions & 3 deletions src-tauri/src/commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use ollama_rs::{
generation::{
completion::{request::GenerationRequest, GenerationResponse},
options::GenerationOptions,
parameters::KeepAlive,
// parameters::KeepAlive,
},
Ollama,
};
Expand Down Expand Up @@ -166,8 +166,8 @@ pub async fn get_inference(

let req = GenerationRequest::new(params.clone().model, params.clone().prompt)
.options(options)
.system(params.clone().system_prompt)
.keep_alive(KeepAlive::UnloadOnCompletion);
.system(params.clone().system_prompt);
// .keep_alive(KeepAlive::Indefinitely);

dbg!(&req);

Expand Down
2 changes: 1 addition & 1 deletion src-tauri/tauri.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"package": {
"productName": "ollama-grid-search",
"version": "0.5.0"
"version": "0.5.1"
},
"tauri": {
"allowlist": {
Expand Down

0 comments on commit b1bdae0

Please sign in to comment.