fix: migrate default conversation API usage to SDK 1.7.11 pattern#1256
Merged
carenthomas merged 2 commits intomainfrom Mar 4, 2026
Merged
fix: migrate default conversation API usage to SDK 1.7.11 pattern#1256carenthomas merged 2 commits intomainfrom
carenthomas merged 2 commits intomainfrom
Conversation
Switch default-conversation calls to conversation_id="default" + agent_id query/body, update @letta-ai/letta-client to ^1.7.11, and remove temporary agent-id guards/logging. 👾 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta Code <noreply@letta.com>
Retain conversations.retrieve debugLog statements in TUI/headless startup flows while removing the temporary getResumeData-specific logging. 👾 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta Code <noreply@letta.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@letta-ai/letta-clientto^1.7.11conversation_id=\"default\"agent_idin query/body as required by endpointagent-*conversation IDs speciallyKey changes
src/agent/message.ts: default send now includesagent_idin request bodysrc/agent/listMessagesRouting.ts: default route now returnsconversationId: \"default\"+agentIdsrc/agent/listMessagesHandler.ts,src/agent/bootstrapHandler.ts: includeagent_idquery when route provides itsrc/agent/check-approval.ts: default backfill usesmessages.list(\"default\", { agent_id }); removed temporary agent-id guard/loggingsrc/cli/App.tsx: default cancel usesconversations.cancel(\"default\", { agent_id }); default compact includesagent_idsrc/cli/subcommands/messages.ts,src/cli/components/ConversationSelector.tsx: default list now uses\"default\"+agent_idagent-*display/guard behavior insrc/cli/components/AgentInfoBar.tsx,src/headless.ts, andsrc/index.tsTest plan
bun run checkbun test src/tests/headless/list-messages-protocol.test.ts src/tests/headless/list-messages-handler.test.ts src/tests/headless/bootstrap-handler.test.ts src/tests/cli/stream-resume-fallback.test.ts src/tests/agent/getResumeData.test.ts👾 Generated with Letta Code