From bc94d1ca73f93ff10025b8856830dc7ca706415c Mon Sep 17 00:00:00 2001 From: "Eric O. Korman" Date: Thu, 8 Aug 2024 09:07:11 -0500 Subject: [PATCH 1/2] pin mistral version --- api/pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/api/pyproject.toml b/api/pyproject.toml index 57c7f385e..2286df409 100644 --- a/api/pyproject.toml +++ b/api/pyproject.toml @@ -18,11 +18,11 @@ dependencies = [ "structlog", "pgvector", "openai", - "mistralai", + "mistralai <= 0.4.2", "absl-py", "nltk", "rouge_score", - "evaluate" + "evaluate", ] [build-system] From 37e7c980ceb4d162cbde4928b9766fefcd135a98 Mon Sep 17 00:00:00 2001 From: "Eric O. Korman" Date: Thu, 8 Aug 2024 09:11:01 -0500 Subject: [PATCH 2/2] fix mistralai in pyright --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 87fbddddd..280a90dd6 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -52,7 +52,7 @@ repos: "psycopg2-binary", "pgvector", "openai", - "mistralai", + "mistralai<=0.4.2", "absl-py", "nltk", "rouge_score",