Skip to content
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

fix: reintroduce including URL location after UI refactor #1842

Merged
merged 1 commit into from
Feb 1, 2025

Conversation

fgalind1
Copy link
Contributor

Partial code of the feature introduced in #1403 was removed after the recent UI refactoring.

This PR reintroduces the missing parts to allow including the current location/URL where the user is as part of the message metadata for further processing in on_message(message: cl.Message)

@dosubot dosubot bot added size:XS This PR changes 0-9 lines, ignoring generated files. frontend Pertains to the frontend. labels Jan 31, 2025
@asvishnyakov
Copy link
Contributor

This is useful not only in Copilot, but, for example, when user references question to something on current page, where RAG app displayed. This will be very useful for me, as currently I need to send this information through window message and store in memory. Thank you @fgalind1 !

Copy link
Collaborator

@willydouhard willydouhard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@willydouhard willydouhard added this pull request to the merge queue Feb 1, 2025
Merged via the queue into Chainlit:main with commit 928011c Feb 1, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend Pertains to the frontend. size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants