mirror of
https://github.com/tcsenpai/agenticSeek.git
synced 2025-06-06 11:05:26 +00:00
fix : server model download
This commit is contained in:
parent
cc951d4745
commit
ddb533a255
@ -13,12 +13,12 @@ class LlamacppLLM(GeneratorLLM):
|
||||
|
||||
def generate(self, history):
|
||||
if self.llm is None:
|
||||
self.logger.info(f"Loading {self.model}...")
|
||||
self.llm = Llama.from_pretrained(
|
||||
repo_id=self.model,
|
||||
filename="*Q8_0.gguf",
|
||||
verbose=True
|
||||
)
|
||||
return
|
||||
self.logger.info(f"Using {self.model} for generation with Llama.cpp")
|
||||
try:
|
||||
with self.state.lock:
|
||||
|
Loading…
x
Reference in New Issue
Block a user