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

the format "-f code" does not create new code cell in Google Colab #411

Open
duchaba opened this issue Oct 19, 2023 · 3 comments
Open

the format "-f code" does not create new code cell in Google Colab #411

duchaba opened this issue Oct 19, 2023 · 3 comments
Labels
bug Something isn't working @jupyter-ai/magics

Comments

@duchaba
Copy link

duchaba commented Oct 19, 2023

Description

In Google Colab, when user the "-f code", it does not create a new code cell with the code in it.

Reproduce

  1. Go to code cell
  2. type "%%ai chatgpt -f code \n write a python function to add two number"
  3. Run the code cell
  4. See error: No code cell with code created.

Expected behavior

New code cell created with the code.

Context

  • Google Colab
Troubleshoot Output
N/A
Command Line Output
N/A
Browser Output
N/A
@duchaba duchaba added the bug Something isn't working label Oct 19, 2023
@welcome
Copy link

welcome bot commented Oct 19, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@3coins
Copy link
Collaborator

3coins commented Oct 19, 2023

@duchaba
Thanks for reporting this issue. Do you see any errors in the server log or the browser console?

@duchaba
Copy link
Author

duchaba commented Oct 25, 2023

Hello:

There is no "errors". The output didn't display. (see image on github link: https://github.com/duchaba/public_sandbox/blob/main/Screenshot%202023-10-24%20at%2010.30.20%20PM.png)

And there is no "chat/comment" icon on the left side.

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

No branches or pull requests

2 participants