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(AgentService): unescape Unicode characters in conversation text #45

Merged
merged 3 commits into from
Dec 2, 2024

Conversation

ishandhanani
Copy link
Collaborator

This PR fixes a transient LLM generation bug where sometimes the output contains escaped characters (ie \u2019 instead of '). We add a helper function that solves this

Copy link
Contributor

@tmonty12 tmonty12 left a comment

Choose a reason for hiding this comment

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

LGTM

@ishandhanani ishandhanani merged commit 39a0487 into main Dec 2, 2024
2 checks passed
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