From 83bf8988544d9d06454779e0ad60c48c2ba5e6fe Mon Sep 17 00:00:00 2001
From: James Briggs <james.briggs@hotmail.com>
Date: Fri, 9 Aug 2024 16:45:03 +0200
Subject: [PATCH] fix: restrict llamacpp version

---
 poetry.lock    | 6 +++---
 pyproject.toml | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/poetry.lock b/poetry.lock
index f9f972ef..a6d4c7d7 100644
--- a/poetry.lock
+++ b/poetry.lock
@@ -2269,12 +2269,12 @@ files = [
 
 [[package]]
 name = "llama-cpp-python"
-version = "0.2.87"
+version = "0.2.85"
 description = "Python bindings for the llama.cpp library"
 optional = true
 python-versions = ">=3.8"
 files = [
-    {file = "llama_cpp_python-0.2.87.tar.gz", hash = "sha256:4dff585f533131aa44b7d9e79a62d60172f317aef15d7bf4bafeb074b55a48c4"},
+    {file = "llama_cpp_python-0.2.85.tar.gz", hash = "sha256:31476c2f4331784d3681f9bcd366cc4666ba97ab128bffbd23cb90ee2cebff21"},
 ]
 
 [package.dependencies]
@@ -5382,4 +5382,4 @@ vision = ["pillow", "torch", "torchvision", "transformers"]
 [metadata]
 lock-version = "2.0"
 python-versions = ">=3.9,<3.13"
-content-hash = "13067697a82e75e7e3e9211d99a2e5a7971b9d57b9a71c81a97fb72881847499"
+content-hash = "32e1158d0742323cf5e3a7262ceec1229829d80df399caa62b5b693bc430932a"
diff --git a/pyproject.toml b/pyproject.toml
index f70227a0..82dca612 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -29,7 +29,7 @@ pinecone-text = {version = ">=0.7.1,<0.10.0", optional = true}
 torch = {version = ">=2.1.0,<2.6.0", optional = true}
 transformers = {version = ">=4.36.2", optional = true}
 tokenizers = {version = ">=0.19", optional = true}
-llama-cpp-python = {version = "^0.2.28", optional = true}
+llama-cpp-python = {version = ">=0.2.28,<0.2.86", optional = true}
 colorama = "^0.4.6"
 pinecone-client = {version=">=3.0.0,<4.0.0", optional = true}
 regex = ">=2023.12.25"
-- 
GitLab