Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions guidance/llms/_llama_cpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ async def __call__(self, prompt, stop=None, stop_regex=None, temperature=None, n
token_healing = self.llm.token_healing

# generate the cache key
key = self._cache_key(locals())
key = self._gen_key(locals())

# set the stop patterns
if stop is not None:
Expand Down Expand Up @@ -778,4 +778,4 @@ def __next__(self):
if value is None:
raise StopIteration()
else:
return value
return value