fix: ADE links for default conversation (#998)

This commit is contained in:
Kian Jones
2026-02-17 15:43:57 -08:00
committed by GitHub
parent 66f333a5ca
commit cda9f3d71d
3 changed files with 3 additions and 3 deletions

View File

@@ -476,6 +476,6 @@ function createAgentLink(
agentId: string,
conversationId?: string,
): string {
const url = `https://app.letta.com/agents/${agentId}${conversationId ? `?conversation=${conversationId}` : ""}`;
const url = `https://app.letta.com/agents/${agentId}${conversationId && conversationId !== "default" ? `?conversation=${conversationId}` : ""}`;
return `View agent: \x1b]8;;${url}\x1b\\${agentId}\x1b]8;;\x1b\\ (run: ${runId})`;
}