When conversations become corrupted on Letta Cloud, users see empty responses with no useful error message. This adds: 1. Warning message when empty result detected: - Logs: "Agent returned empty result with no response" - Suggests running `lettabot reset-conversation` 2. New CLI command `lettabot reset-conversation`: - Clears the conversationId from lettabot-agent.json - Preserves agent and memory - Next message creates fresh conversation Symptoms of corrupted conversation: - stop_reason: "error" with empty result - Messages not appearing in agent history - duration_api_ms: 0 (no API call made) Written by Cameron ◯ Letta Code "When in doubt, start fresh." - Ancient debugging wisdom
303 KiB
303 KiB