Drop AbstractSingleton as a parent class of the vector memory (#4901)

* Drop AbstractSingleton as a parent class of the vector memory

* Forgot pytest fixture in integration tests

* Revert typo
This commit is contained in:
James Collins
2023-07-08 09:27:43 -07:00
committed by GitHub
parent 426b7d12da
commit f6da992b3e
2 changed files with 1 additions and 8 deletions

View File

@@ -6,13 +6,12 @@ import numpy as np
from autogpt.config.config import Config
from autogpt.logs import logger
from autogpt.singleton import AbstractSingleton
from .. import MemoryItem, MemoryItemRelevance
from ..utils import Embedding, get_embedding
class VectorMemoryProvider(MutableSet[MemoryItem], AbstractSingleton):
class VectorMemoryProvider(MutableSet[MemoryItem]):
@abc.abstractmethod
def __init__(self, config: Config):
pass