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

feat: support image outputs during code execution #674

Merged
merged 9 commits into from
Jan 7, 2025

Conversation

jeremyphilemon
Copy link
Collaborator

@jeremyphilemon jeremyphilemon commented Jan 7, 2025

continuing from #649, thank you @BaileySimrell!

I've removed svg outputs for now since it wouldn't be ideal to ship with dangerouslyAllowSVG by default + image would be sufficient for now until we hear demand for vector outputs; will revisit this later!

  • create new type ConsoleOutputContent to support image and text output type
  • show loading state when loading packages
  • convert plot to png and render

Copy link

vercel bot commented Jan 7, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ai-chatbot ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 7, 2025 5:29pm

@jeremyphilemon jeremyphilemon marked this pull request as ready for review January 7, 2025 17:27
@jeremyphilemon jeremyphilemon merged commit 50bd460 into main Jan 7, 2025
5 checks passed
@jeremyphilemon jeremyphilemon deleted the jrmy/matplotlib-support branch January 7, 2025 18:30
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