open-webui/src/lib/components
Etienne Perot 9fbff16a08
feat: add code execution status to chat messages.
This adds `code_executions` as an array of code execution statuses to
chat messages. The intent of this data is to be displayed in a similar
manner as citations: at the bottom of the message, with buttons that open
a modal for more info. However, code execution data doesn't fit well in
citation modals, because they fundamentally differ in their formatting.
Code execution status includes the code that was run (which benefits from
being syntax-highlighted), and the output and generated files. This
differs from citations which are just list of document names and links.

Additionally, code execution is a process, whereas citations are only
emitted once. This is why code execution data uses an ID-based approach,
where each code execution instance is identified by a unique ID and can
be updated by emitting a new `code_execution` message with the same ID.
This allows the code execution status to be updated as code runs.
2024-10-12 16:14:12 -07:00
..
admin refactor: Update GenerateEmbeddingsForm to support batch processing 2024-10-08 00:04:35 +01:00
chat feat: add code execution status to chat messages. 2024-10-12 16:14:12 -07:00
common enh: mermaid copy content button 2024-10-11 00:10:00 -07:00
icons enh: artifacts, overview back button 2024-10-08 15:35:35 -07:00
layout refac 2024-10-11 00:28:26 -07:00
playground chore: format 2024-08-13 11:12:35 +01:00
workspace enh: show both model id and hash 2024-10-08 19:32:53 -07:00
AddFilesPlaceholder.svelte enh: drag and drop chat exports 2024-10-09 00:13:54 -07:00
ChangelogModal.svelte chore: format 2024-08-13 11:12:35 +01:00