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

Generated code may have triple-backticks before and after it. #59

Closed
JasonWeill opened this issue Apr 13, 2023 · 0 comments · Fixed by #60
Closed

Generated code may have triple-backticks before and after it. #59

JasonWeill opened this issue Apr 13, 2023 · 0 comments · Fixed by #60
Labels
bug Something isn't working @jupyter-ai/magics
Milestone

Comments

@JasonWeill
Copy link
Collaborator

Description

When using --format code (#43), some generative AIs like ChatGPT may surround the generated code with triple-backticks. This code cannot be run as generated.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working @jupyter-ai/magics
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant