From 1750086e8f0dfbecb9ebedaa2bf08fa7b945e501 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Grie=C3=9Fhaber=20Daniel?= <griesshaber@hdm-stuttgart.de> Date: Mon, 19 Aug 2024 14:07:16 +0200 Subject: [PATCH] Apply 1 suggestion(s) to 1 file(s) Co-authored-by: Max Kimmich <maximilian.kimmich@ims.uni-stuttgart.de> --- evoprompt/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evoprompt/models.py b/evoprompt/models.py index 565ce89..4e7b361 100644 --- a/evoprompt/models.py +++ b/evoprompt/models.py @@ -133,7 +133,7 @@ class LLMModel(ABC): sort_keys=True, ) cache_key = ( - str(self.model_name) + hashlib.sha1(unique_options_key.encode()).hexdigest() + str(self.model_name) + '/' + hashlib.sha1(unique_options_key.encode()).hexdigest() ) return cache_key -- GitLab