mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-12-03 03:55:12 +00:00
Merge branch 'pr/491' into development
This commit is contained in:
parent
86299e4deb
commit
45cf742fa1
17 changed files with 749 additions and 526 deletions
|
|
@ -117,8 +117,7 @@ class Memory:
|
|||
os.makedirs(em_dir, exist_ok=True)
|
||||
store = LocalFileStore(em_dir)
|
||||
|
||||
embeddings_model = models.get_model(
|
||||
models.ModelType.EMBEDDING,
|
||||
embeddings_model = models.get_embedding_model(
|
||||
model_config.provider,
|
||||
model_config.name,
|
||||
**model_config.kwargs,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue