fix: effective tag

This commit is contained in:
Dhravya Shah 2026-02-19 20:12:19 -08:00
parent 7339822997
commit 7030c8bdb0

View file

@ -384,9 +384,10 @@ export class SupermemoryMCP extends McpAgent<Env, unknown, Props> {
containerTag?: string
}) {
const { content, action = "save", containerTag } = args
const effectiveContainerTag = containerTag || this.props?.containerTag
try {
const client = this.getClient(containerTag)
const client = this.getClient(effectiveContainerTag)
const clientInfo = await this.getClientInfo()
if (action === "forget") {