Skip to content
Snippets Groups Projects
Commit cfbcc340 authored by Max Kimmich's avatar Max Kimmich
Browse files

Merge branch 'refactor-models' of...

Merge branch 'refactor-models' of gitlab.mi.hdm-stuttgart.de:griesshaber/evoprompt into refactor-models
parents f036475f 94ce4ce1
No related branches found
No related tags found
1 merge request!7Refactor tasks and models and fix format for various models
......@@ -66,7 +66,7 @@ class LLMModel(ABC):
# set up caching for model calls
self._call_model_cached = None
if "disable_cache" not in self.kwargs or not self.kwargs["disable_cache"]:
if not self.kwargs.get("disable_cache", False):
cache = Cache(Path(".cache_dir", self.model_cache_key))
@cache.memoize(typed=True, ignore=[0, "func"])
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment