Skip to content
Snippets Groups Projects
Commit ce71ba8d authored by Grießhaber Daniel's avatar Grießhaber Daniel :squid:
Browse files

Apply suggestions to 1 file

parent 13b82620
No related branches found
No related tags found
2 merge requests!2remove is_chat argument,!1Refactor models
......@@ -50,7 +50,6 @@ class LLMModel(ABC):
@cache.memoize(typed=True, ignore=["func"])
def _call_function(func, *args, **kwargs):
# `cache_key` is added to the cache key (e.g., to distinguish between different models), but it is not used in the function
return func(*args, **kwargs)
self._call_model_cached = _call_function
......
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