Skip to content

fix(retitle-conversation): reject default conversation - #80

Open
just-cameron wants to merge 1 commit into
mainfrom
letta/fix-default-conversation-retitle-dbd1bef8
Open

just-cameron wants to merge 1 commit into
mainfrom
letta/fix-default-conversation-retitle-dbd1bef8

Conversation

@just-cameron

Copy link
Copy Markdown
Contributor

Overlord (agent-c2adbf5c-8419-4211-8cd8-3740db164974)

Problem

The mod passes the default conversation sentinel to ctx.conversation.updateTitle(). The default conversation has no stored conversation record, so the update API returns a 404.

Change

  • Return a clear error when ctx.conversation.id is default.
  • Keep normal conversation title updates unchanged.
  • Add a regression test that proves no update runs for the default conversation.
  • Bump @letta-ai/retitle-conversation to 0.1.1 and document the boundary.

Validation

  • npm test in packages/retitle-conversation — 8 passed
  • TypeScript 5.9.2 tsc --noEmit — passed
  • npm run validate — passed

Letta Code (agent-c2adbf5c-8419-4211-8cd8-3740db164974)

Stop before the conversation update API when the scoped handle identifies the default conversation, which has no stored conversation record to rename.

👾 Generated with [Letta Code](https://letta.com)

Co-Authored-By: Letta Code <noreply@letta.com>
@just-cameron
just-cameron marked this pull request as ready for review August 24, 2026 22:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants