mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-25 04:24:30 -05:00
Config the python modules available when running generated code in a chat window #1523
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @evolu8 on GitHub (Jul 14, 2024).
Is your feature request related to a problem? Please describe.
Yes. Being able to click Run to run generated python code snippets is awesome, but oftentimes a python library is missing and adding one is non-trivial for most users (unless I'm missing something)
Describe the solution you'd like
Ideally I'd like to be able to add python packages available via micropip in the admin interface.
Describe alternatives you've considered
I've tried hacking in the terminal and the browser and neither were fun (or successful)
Additional context
eff736acd2/src/lib/components/chat/Messages/CodeBlock.svelte (L107)