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

Strips language indicator from start of code output #126

Merged
merged 1 commit into from
Apr 28, 2023

Conversation

JasonWeill
Copy link
Collaborator

Fixes #110. Strips a leading language indicator, such as ```python, from the beginning of AI-generated output. The beginning of a code block without a language indicator, like ``` on a line by itself, is still stripped.

@JasonWeill JasonWeill added bug Bugs reported by users @jupyter-ai/magics labels Apr 27, 2023
@JasonWeill JasonWeill merged commit e2df520 into jupyterlab:main Apr 28, 2023
dbelgrod pushed a commit to dbelgrod/jupyter-ai that referenced this pull request Jun 10, 2024
Marchlak pushed a commit to Marchlak/jupyter-ai that referenced this pull request Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs reported by users @jupyter-ai/magics
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Generated code may start with ```python or other language indicator
2 participants