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: omit markdown codeblock #205

Merged
merged 1 commit into from
May 29, 2024
Merged

fix: omit markdown codeblock #205

merged 1 commit into from
May 29, 2024

Conversation

Archeb
Copy link
Contributor

@Archeb Archeb commented May 29, 2024

Some models (GPT-4,4o series) will use markdown fenced code block syntax to wrap the output JSON, breaking the summarization feature. With this change, code blocks will be omitted.

@nekomeowww nekomeowww changed the title omit markdown codeblock fix: omit markdown codeblock May 29, 2024
Copy link
Owner

@nekomeowww nekomeowww left a comment

Choose a reason for hiding this comment

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

Thansk, LGTM

@nekomeowww nekomeowww merged commit 0ec307b into nekomeowww:main May 29, 2024
4 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