mirror of
https://github.com/tcsenpai/agenticSeek.git
synced 2025-06-06 11:05:26 +00:00
fix : llamacpp handler problem
This commit is contained in:
parent
ddb533a255
commit
5862c98f3e
@ -29,7 +29,7 @@ class LlamacppLLM(GeneratorLLM):
|
||||
messages = history
|
||||
)
|
||||
with self.state.lock:
|
||||
self.state.current_buffer = output
|
||||
self.state.current_buffer = output['choices'][0]['content']
|
||||
except Exception as e:
|
||||
self.logger.error(f"Error: {e}")
|
||||
finally:
|
||||
|
Loading…
x
Reference in New Issue
Block a user