Skip to content

Conversation

@ariane-emory
Copy link
Owner

What does this PR do?

How did you verify your code works?

Add a new tool that allows the model to set the title of the current session.
This enables custom slash commands to automatically title sessions based on their context.

- Add tool definition with 1-255 character validation
- Register tool in registry
- Include comprehensive unit tests
- Tool requests permission (configurable by user)
- Updates session title immediately via reactive UI
Check if title is still default before overwriting in ensureTitle().
This prevents auto-generated titles from overwriting titles set by
the set_current_session_title tool during the LLM call.
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