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 output parsing for chat agent #5355

Closed
wants to merge 1 commit into from
Closed

Conversation

agola11
Copy link
Collaborator

@agola11 agola11 commented May 27, 2023

Confirmed that this allows people to run ChatAgents with LLMs and ChatModels with no more parsing errors.

@agola11 agola11 marked this pull request as ready for review May 27, 2023 21:31
Copy link
Contributor

@hwchase17 hwchase17 left a comment

Choose a reason for hiding this comment

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

this may be worth adding to the parse_json_markdown function

@agola11
Copy link
Collaborator Author

agola11 commented May 28, 2023

The reason I didn't is bc it seems like this was used elsewhere and I didn't want to inadvertently affect that behavior. It will likely be fine though, can test

@hwchase17
Copy link
Contributor

i added test cases in an attempt to fix this inside parse_json_markdown - can you review? if there are test cases that wont work, please add them! #5371

@hwchase17
Copy link
Contributor

should be fixed by #5371

@hwchase17 hwchase17 closed this May 29, 2023
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