From 686194e69dc63a68abe8fe64dfafe1195953379c Mon Sep 17 00:00:00 2001 From: andthattoo Date: Thu, 15 Aug 2024 15:16:26 +0300 Subject: [PATCH] ollama-rs linked to fork --- Cargo.lock | 2 +- Cargo.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f2e8c7d..f3e0f1e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1745,7 +1745,7 @@ dependencies = [ [[package]] name = "ollama-rs" version = "0.2.0" -source = "git+https://github.com/andthattoo/ollama-rs?branch=master#dcdfc07a0974f414b3a86c9aed17d43f1bba7bd1" +source = "git+https://github.com/andthattoo/ollama-rs?rev=e566515#e56651586c468546a46a995e3176539396d85243" dependencies = [ "async-stream", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index 0d19556..a75d563 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,9 +16,9 @@ serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" reqwest = { version = "0.12.4", features = ["json"] } rand = "0.8.5" -ollama-rs = { git = "https://github.com/andthattoo/ollama-rs", branch = "master", features = [ +ollama-rs = { git = "https://github.com/andthattoo/ollama-rs", rev = "e566515", features = [ "function-calling", -] } +] } parking_lot = "0.12.2" langchain-rust = "4.2.0" openai_dive = "0.5.3"