fix: pin existing default agents and rename --new to --new-agent (#556)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2026-01-15 18:08:31 -08:00
committed by GitHub
parent 3753dfe18d
commit 72f172d9d9
9 changed files with 45 additions and 11 deletions

View File

@@ -13,6 +13,7 @@ const SOLID_LINE = "─";
interface ConversationSelectorProps {
agentId: string;
agentName?: string;
currentConversationId: string;
onSelect: (conversationId: string) => void;
onNewConversation: () => void;
@@ -186,6 +187,7 @@ function getMessageStats(messages: Message[]): {
export function ConversationSelector({
agentId,
agentName,
currentConversationId,
onSelect,
onNewConversation,
@@ -511,7 +513,9 @@ export function ConversationSelector({
{/* Empty state */}
{!loading && !error && conversations.length === 0 && (
<Box flexDirection="column">
<Text dimColor>No conversations found</Text>
<Text dimColor>
No conversations for {agentName || agentId.slice(0, 12)}
</Text>
<Text dimColor>Press N to start a new conversation</Text>
</Box>
)}