mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-04-13 22:02:56 +00:00
fix
This commit is contained in:
parent
964b1f79a6
commit
69abf262fc
@ -2910,7 +2910,7 @@ Do not discuss the information inside thememory, just put the relevant informati
|
||||
ASCIIColors.yellow(f" ----- {chunk_id-1} ------")
|
||||
ASCIIColors.red(prompt)
|
||||
|
||||
memory = self.generate(prompt, n_predict=ctx_size//4, streaming_callback=callback).strip()
|
||||
memory = self.generate(prompt, max_size=ctx_size//4, streaming_callback=callback).strip()
|
||||
code = self.extract_code_blocks(memory)
|
||||
if code:
|
||||
memory=code[0]["content"]
|
||||
|
Loading…
x
Reference in New Issue
Block a user