mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-09-07 08:26:15 +00:00
fix: effective tag
This commit is contained in:
parent
7339822997
commit
7030c8bdb0
1 changed files with 2 additions and 1 deletions
|
|
@ -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") {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue