diff --git a/llama_stack/providers/adapters/memory/sample/sample.py b/llama_stack/providers/adapters/memory/sample/sample.py index d083bc28e..7ef4a625d 100644 --- a/llama_stack/providers/adapters/memory/sample/sample.py +++ b/llama_stack/providers/adapters/memory/sample/sample.py @@ -9,10 +9,17 @@ from .config import SampleConfig from llama_stack.apis.memory import * # noqa: F403 +from llama_stack.distribution.datatypes import RoutableProvider -class SampleMemoryImpl(Memory): + +class SampleMemoryImpl(Memory, RoutableProvider): def __init__(self, config: SampleConfig): self.config = config + async def validate_routing_keys(self, routing_keys: list[str]) -> None: + # these are the memory banks the Llama Stack will use to route requests to this provider + # perform validation here if necessary + pass + async def initialize(self): pass