fix: ADE links for default conversation (#998)
This commit is contained in:
@@ -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})`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user