mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 14:34:23 +01:00
Fix to LocalCache add method, created integration test for it
This commit is contained in:
committed by
Toran Bruce Richards
parent
ae6adb4ade
commit
16b37fff1d
@@ -54,8 +54,8 @@ class LocalCache(MemoryProviderSingleton):
|
||||
vector = vector[np.newaxis, :]
|
||||
self.data.embeddings = np.concatenate(
|
||||
[
|
||||
vector,
|
||||
self.data.embeddings,
|
||||
vector,
|
||||
],
|
||||
axis=0,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user