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: USE_REDIS condition, Markdown list counter, code highlights #3806

Merged
merged 3 commits into from
Aug 27, 2024

Conversation

danny-avila
Copy link
Owner

@danny-avila danny-avila commented Aug 27, 2024

Summary

Closes #3804

  • Updated the USE_REDIS condition check in clearPendingReq.js and socialLogins.js to use the isEnabled utility function, ensuring consistent evaluation of the USE_REDIS environment variable.
  • Restored the Markdown rehype highlight functionality in Markdown.tsx, MessageContent.tsx, and Part.tsx components, which was being accidentally removed programmatically in a previous update
  • Removed the isEdited prop from Markdown component as it's no longer needed for controlling the rehype plugins.
  • Simplified the Markdown component usage in MessageContent and Part components by removing the unnecessary isEdited prop.
  • Fixed markdown list counter as a regression from recent changes to list styling

@danny-avila danny-avila merged commit a267f6e into main Aug 27, 2024
4 checks passed
@danny-avila danny-avila deleted the fix/minor-issues branch August 27, 2024 18:49
kenshinsamue pushed a commit to intelequia/LibreChat that referenced this pull request Sep 17, 2024
…anny-avila#3806)

* fix: markdown rehype highlight accidental removal

* fix: USE_REDIS condition check

* fix: markdown list counter
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.

[Bug - CSS]: Code snippet colors not rendered except for the last one
1 participant