Commit Graph

90 Commits

Author SHA1 Message Date
Timothy Jaeryang Baek
8f3fcdcf5c refac 2025-02-22 02:00:06 -08:00
Timothy Jaeryang Baek
794919e91d refac 2025-02-22 01:22:17 -08:00
Timothy Jaeryang Baek
667d26ca12 refac 2025-02-22 01:16:58 -08:00
Timothy Jaeryang Baek
9bada6421e refac: code block image styling 2025-02-21 16:39:56 -08:00
Timothy Jaeryang Baek
fe5c4b95d5 enh: configurable jupyter execution timeout 2025-02-19 17:05:37 -08:00
Timothy Jaeryang Baek
a6a7c548d5 refac: code block styling 2025-02-18 20:24:04 -08:00
Timothy Jaeryang Baek
003968f06a enh: jupyter matplotlib support 2025-02-18 20:15:16 -08:00
Timothy Jaeryang Baek
2f75eef499 enh: code execution settings 2025-02-17 16:25:50 -08:00
Timothy Jaeryang Baek
fd8998a38f refac 2025-02-15 19:50:40 -08:00
Timothy Jaeryang Baek
e3fa48b6ce chore: tailwind v4 migration 2025-02-15 19:27:25 -08:00
Timothy Jaeryang Baek
a22d1d5410 refac: code block 2025-02-09 22:43:32 -08:00
Timothy Jaeryang Baek
9624493b55 refac 2025-02-04 23:44:51 -08:00
Timothy Jaeryang Baek
533b62f062 refac: deprecate non web worker pyodide 2025-02-04 18:41:53 -08:00
Timothy Jaeryang Baek
6ee924924e refac: code interpreter 2025-02-04 18:33:22 -08:00
Timothy Jaeryang Baek
49e5d01213 refac: pyodide 2025-02-03 22:07:59 -08:00
Timothy Jaeryang Baek
d87a7b2f8b refac: styling 2025-02-03 14:16:22 -08:00
Timothy Jaeryang Baek
58d2fd9ac1 refac: styling 2025-02-03 00:03:41 -08:00
Timothy Jaeryang Baek
0d33725d21 enh: pyodide 2025-02-02 21:18:52 -08:00
Timothy Jaeryang Baek
74172461c7 enh: pyodide python result handling 2025-02-02 16:56:21 -08:00
Yuta Hayashibe
12516c8a45
fix: Fix typos 2024-10-14 16:22:07 +09:00
Timothy J. Baek
ee079df8ed refac: code execution styling 2024-10-13 23:49:32 -07:00
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
Timothy J. Baek
63d297756a enh: mermaid copy content button 2024-10-11 00:10:00 -07:00
Timothy J. Baek
a7f543d737 refac 2024-10-06 13:00:53 -07:00
Timothy J. Baek
babfc97c90 enh: svg zoom pan 2024-10-06 12:51:29 -07:00
Timothy J. Baek
097e90f1de refac 2024-10-06 00:30:50 -07:00
Timothy J. Baek
ed47e24494 refac 2024-10-06 00:28:33 -07:00
Timothy J. Baek
ed337b94e1 refac: styling 2024-10-05 20:50:58 -07:00
Timothy J. Baek
0f287c8a09 enh: floating codeblock buttons 2024-10-05 20:48:55 -07:00
Timothy J. Baek
49e9275c5b refac: styling 2024-10-05 18:57:19 -07:00
Timothy J. Baek
2e067b0541 refac 2024-10-05 16:00:25 -07:00
Timothy J. Baek
f5b6785e53 refac 2024-10-05 12:07:45 -07:00
Timothy J. Baek
81440460f2 feat: editable code block 2024-10-05 12:04:36 -07:00
Timothy J. Baek
7036166535 refac 2024-10-05 03:22:17 -07:00
Timothy J. Baek
e06667ead8 refac 2024-09-23 23:39:33 +02:00
Timothy J. Baek
b1521cacad refac: WIP 2024-09-23 14:24:50 +02:00
Timothy J. Baek
2cd1207e73 fix: mermaid error on rating 2024-09-03 15:39:09 +02:00
Timothy J. Baek
d79d3f1352 enh: mermaid dark theme 2024-08-19 19:42:31 +02:00
Timothy J. Baek
6c8a15fae2 refac 2024-08-19 17:47:28 +02:00
Timothy J. Baek
68d8fd69c0 fix 2024-08-19 17:44:14 +02:00
Timothy J. Baek
b31de299e4 fix: mermaid rendering issue 2024-08-19 17:28:38 +02:00
Timothy J. Baek
5a6ece9513 refac: enhanced response content sanitisation
'<' and '>' can be correctly displayed now
2024-08-15 00:08:15 +02:00
Timothy J. Baek
9435d2044a refac: more robust mermaid chart rendering 2024-08-14 21:16:07 +02:00
Timothy J. Baek
609a42c29c refac: mermaid chart rendering 2024-08-14 17:34:44 +02:00
Timothy J. Baek
1597e33a74 refac: mermaid chart rendering 2024-08-14 16:27:55 +02:00
Timothy J. Baek
d388c20373 enh: codeblock i18n 2024-08-08 15:07:24 +02:00
Timothy J. Baek
13403cd7dc enh: codeblock i18n 2024-08-08 14:24:47 +02:00
Timothy J. Baek
dc262a5f79 refac: styling 2024-08-05 19:43:51 +02:00
Timothy J. Baek
24ef5af2a1 fix: code block 2024-07-09 00:41:56 -07:00
Timothy J. Baek
f342f8adc7 refac: code highlight optimisation 2024-06-20 12:27:34 -07:00