Artifacts behavior is not ideal with non-web applications (eg: Python, Jupyter) #3830
Replies: 1 comment
-
Hey @adamrb 👋 I remember you from the early days, it's encouraging to see your handle.
It is totally geared towards web apps, same as Claude.ai. It's actually not intended to run python or anything but JS/HTML/mermaid (which can be translated to HTML)... yet.
I've thought about this problem for a long time. I'm cooking something up for #3607 Stay tuned 👀 |
Beta Was this translation helpful? Give feedback.
-
First of all, I love artifacts! These are great when I want a simple web app for a simple tasks.
I've noticed that the current implementation seems to be geared primarily towards web applications. I recently requested a Python script and a Jupyter notebook, and while the LLM provided the code artifacts as expected, there were a couple of hiccups:
In an ideal world, it'd be great to have a container spun up to execute command-line scripts. But I realize that might be a bit of a stretch for the short term.
For now, I think syntax highlighting and not defaulting to preview for languages where it's not possible would go a long way to help the user experience.
Beta Was this translation helpful? Give feedback.
All reactions