Skip to content

Allow users to be mentioned via Python API #235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dlqqq
Copy link
Member

@dlqqq dlqqq commented Jun 18, 2025

Description

  • Addresses AI personas can't @mention other AI personas to delegate work jupyter-ai#1365
  • Updates the YChat.add_message() method to parse for @-mentions using the same logic implemented in the frontend.
  • @-mentioned usernames are added to the mentions field of the new message.
  • YChat.mention_name has been updated to be a computed property that will always be defined, ensuring type safety.
  • Adds unit test coverage for this change.

Copy link
Contributor

Binder 👈 Launch a Binder on branch dlqqq/jupyter-chat/server-side-mentions

@ellisonbg
Copy link
Collaborator

Nice, will have a look.

@andrii-i andrii-i added the enhancement New feature or request label Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants