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 code block recognition for cleaner code display #40

Closed
wants to merge 1 commit into from

Conversation

yangbobo2021
Copy link
Collaborator

The code block recognition logic has been improved to resolve display issues in our application. The conditional logic was replaced with a more accurate substring method to identify code blocks correctly.

This fix should address the problem mentioned in issue #375.

Closes devchat-ai/devchat#375

- Replace conditional logic with substring method to identify code blocks.
@yangbobo2021
Copy link
Collaborator Author

It is a markdown rule, we need to optimize question to LLM for better format response.

@yangbobo2021 yangbobo2021 deleted the bugfix/code-block-display-error-#375 branch May 9, 2024 05:28
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.

Code block recognition error causing code display issues
1 participant