Adk web tool hardwires specific memory services
In the fastapi web tool the possible URL prefixes for the url that defines the memory service are hard wired to InMemoryMemoryService, VertexAiMemoryBankService, and VertexAiRagMemoryService. This leaves no space for injecting a customized memory service of the user's design, so adk web debugging is inaccessible.
A possible solution is to provide a mechanism that allows the script to dynamically import an arbitrary instance of BaseMemory service. If this is OK from a security standpoint, it would fix the issue.
Other options include a more general plug in architecture.
The same issue arises for the artifact service and the session service.
- i need it for artifact service
Hi @cbrew and @Keydol , this is now supported with service_registry, check out https://github.com/google/adk-python/blob/8dd5a79b29816bb11b559ed61b4d6188088f62ad/src/google/adk/cli/service_registry.py#L204-L219 for example