Commit graph

343 commits

Author SHA1 Message Date
Timothy J. Baek
ce85400817 refac: feedback 2024-10-22 22:55:34 -07:00
Timothy J. Baek
29e8e2d938 refac: rating submit -> save 2024-10-14 20:35:06 -07:00
Timothy J. Baek
e0e249c1b9 refac: convention 2024-10-13 23:16:51 -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
09f34a7561 refac 2024-10-07 14:57:56 -07:00
Timothy J. Baek
53954e4c05 feat: ask floating button 2024-10-06 16:14:12 -07:00
Timothy J. Baek
0f287c8a09 enh: floating codeblock buttons 2024-10-05 20:48:55 -07:00
Timothy J. Baek
c746fd94cb refac 2024-10-05 18:43:17 -07:00
Timothy J. Baek
ed1a2ab5e8 refac: explain button behaviour 2024-10-05 16:50:06 -07:00
Timothy J. Baek
1558f64c48 refac: only show floating buttons when message.done 2024-10-05 14:51:28 -07:00
Timothy J. Baek
e184a65dea refac 2024-10-05 12:43:58 -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
ed3e1397ca refac 2024-10-05 01:40:10 -07:00
Timothy J. Baek
0ad35ffad9 feat: text select quick actions 2024-10-05 01:37:39 -07:00
Jun Siang Cheah
a8ec73d01e feat: show the user the entirety of the usage response 2024-10-02 23:14:08 +01:00
Timothy J. Baek
299b3d72cf fix: rate responses 2024-09-24 14:02:41 +02:00
Timothy J. Baek
85e9e231ed fix: image generation 2024-09-24 13:54:34 +02:00
Timothy J. Baek
84c1810b6e refac 2024-09-23 23:20:27 +02:00
Timothy J. Baek
b1521cacad refac: WIP 2024-09-23 14:24:50 +02:00
Timothy J. Baek
5978e7c9a6 refac: wip 2024-09-23 01:36:46 +02:00
Timothy J. Baek
580ad46036 refac: speedRate -> playbackRate 2024-09-21 15:42:39 +02:00
Timothy J. Baek
7078af635c refac 2024-09-19 17:02:59 +02:00
Timothy J. Baek
ff2fff857a refac: styling 2024-09-19 03:22:55 +02:00
Timothy J. Baek
8d92093570 enh: node show content as tooltip 2024-09-18 02:55:25 +02:00
Timothy J. Baek
614c219010 enh: prepend image filename with prompt 2024-09-18 01:04:20 +02:00
Timothy J. Baek
5065291f72 feat: save as new response message 2024-09-17 23:36:48 +02:00
Timothy J. Baek
94502d6494 fix: styling 2024-09-04 19:55:10 +02:00
Jannik Streidl
97d73d3d33 fix: reset status on error + styling 2024-08-27 11:24:05 +02:00
Timothy J. Baek
f4f7adb377 refac 2024-08-26 15:01:29 +02:00
kiosion
3967c34261
feat: Add control for how message content is split for TTS generation reqs 2024-08-25 20:03:21 -04:00
Timothy J. Baek
cbadf39d7d enh: user chat edit permission 2024-08-19 16:49:40 +02:00
Timothy J. Baek
0fa85c5c64 enh: enable message rating setting 2024-08-19 15:16:49 +02:00
Timothy J. Baek
7c81509804 feat: merge responses 2024-08-18 20:59:59 +02:00
Timothy J. Baek
b02f6db475 refac 2024-08-18 18:28:58 +02:00
Timothy J. Baek
c9505531fd refac: styling 2024-08-18 17:40:26 +02:00
Timothy J. Baek
4f47053e93 refac 2024-08-16 17:51:50 +02:00
Timothy J. Baek
eee1dad217 refac: styling 2024-08-16 15:37:17 +02:00
Timothy J. Baek
4ef042e966 refac 2024-08-16 15:33:14 +02:00
Timothy J. Baek
8ea1a10525 enh: action __event_emitter__ support 2024-08-15 23:55:31 +02:00
Timothy J. Baek
8c2ba7f7ea enh: Actions __webui__ flag support 2024-08-15 17:28:43 +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
609a42c29c refac: mermaid chart rendering 2024-08-14 17:34:44 +02:00
Timothy J. Baek
04e2b6e2bd chore: format 2024-08-14 16:39:02 +02:00
Timothy J. Baek
6e5b557a1f refac 2024-08-14 16:08:23 +02:00
Timothy J. Baek
7ef5aa520c chore: format 2024-08-13 11:12:35 +01:00
Timothy J. Baek
01f622866f fix 2024-08-09 00:14:41 +02:00
Timothy J. Baek
e9d14601a1 refac 2024-08-09 00:08:20 +02:00
Timothy J. Baek
92e77d7b33 refac: katex 2024-08-09 00:01:38 +02:00
Timothy J. Baek
3b370bbcb3 fix 2024-08-08 20:46:39 +02:00
Timothy J. Baek
0c231fd387 fix: styling 2024-08-07 12:22:35 +02:00
Timothy J. Baek
0d019a00c9 refac 2024-08-07 02:06:57 +02:00
Timothy J. Baek
7cbc94592e fix: styling 2024-08-06 23:48:10 +02:00
Timothy J. Baek
9747f1e841 revert: markdown rendering 2024-08-06 23:34:51 +02:00
Timothy J. Baek
ff90b125ee Revert "refac"
This reverts commit a140d319fe.
2024-08-06 11:43:47 +02:00
Timothy J. Baek
a140d319fe refac 2024-08-06 10:29:29 +02:00
Timothy J. Baek
76dcabdce6 fix 2024-08-05 19:54:32 +02:00
Timothy J. Baek
dc262a5f79 refac: styling 2024-08-05 19:43:51 +02:00
Timothy J. Baek
db5830dc28 refac: prose styling 2024-08-05 19:40:46 +02:00
Timothy J. Baek
e8375e9acd refac 2024-08-05 19:16:57 +02:00
Timothy J. Baek
ac3c657315 refac 2024-08-05 18:00:55 +02:00
Timothy J. Baek
37b117a84c fix: styling 2024-08-05 18:00:04 +02:00
Timothy J. Baek
ab6346ea1c refac: markdown rendering
Co-Authored-By: Jun Siang Cheah <me@jscheah.me>
2024-08-05 17:47:18 +02:00
Timothy J. Baek
bf6c6627e8 revert 2024-08-05 01:03:22 +02:00
Timothy J. Baek
b414fde6ca fix 2024-08-04 18:34:29 +02:00
Timothy J. Baek
88086935af feat: markdown image preview 2024-08-04 18:14:17 +02:00
Timothy J. Baek
0c6284be02 fix: user voice should update when global voice updates 2024-08-02 22:28:39 +02:00
Timothy J. Baek
7a80e732df refac: styling 2024-07-31 12:37:49 +01:00
Timothy J. Baek
fdea1afc7f refac: latex should not use \\begin and \\end as delimiters 2024-07-20 11:24:57 +02:00
Timothy J. Baek
41fecb800d enh: latex 2024-07-20 11:17:24 +02:00
Timothy J. Baek
ebce006974 refac: latex handling 2024-07-20 10:58:29 +02:00
Timothy J. Baek
d3c6bfb764 enh: latex 2024-07-19 16:54:28 +02:00
Timothy J. Baek
79562a2531 fix: elevenlabs tts 2024-07-19 13:30:36 +02:00
Timothy J. Baek
775a3dc359 refac 2024-07-17 17:11:50 +02:00
Timothy J. Baek
5e8a74ef74 refac 2024-07-15 12:20:09 +02:00
Timothy J. Baek
3cc3671e74 enh: custom icon support for actions 2024-07-15 12:15:00 +02:00
Timothy J. Baek
856845e5f2 refac 2024-07-11 19:05:59 -07:00
Timothy J. Baek
14c0efe300 feat: chat action integration 2024-07-11 18:47:38 -07:00
Timothy J. Baek
eb10001eb7 feat: action function 2024-07-11 18:41:00 -07:00
Timothy J. Baek
9cea5f75bb refac: styling 2024-07-08 18:31:58 -07:00
Timothy J. Baek
c954f1b4de refac 2024-06-27 13:12:37 -07:00
Timothy J. Baek
8bdbd2f9fb fix: rm conversationMode 2024-06-25 12:27:00 -07:00
SimonOriginal
fbbffc4386 Add key adn translation 2024-06-24 19:04:31 +02:00
Timothy J. Baek
47d9c9fc74 refac 2024-06-17 20:46:42 -07:00
Timothy J. Baek
2f7120a73a refac 2024-06-17 02:54:56 -07:00
Timothy J. Baek
4a67ae1195 fix: message delete issue 2024-06-16 22:28:26 -07:00
Timothy J. Baek
b72243c166 fix 2024-06-10 18:54:52 -07:00
Timothy J. Baek
8f2e799615 fix 2024-06-10 18:53:33 -07:00
Timothy J. Baek
a75b68c19c refac: message status history 2024-06-10 11:40:58 -07:00
Timothy J. Baek
bf5a62298c refac 2024-06-10 00:15:46 -07:00
Timothy J. Baek
3499ec3f79 fix: tts 2024-06-08 13:18:42 -07:00
Timothy J. Baek
27417dd771 refac: audio 2024-06-07 20:51:53 -07:00
Timothy J. Baek
55dc6c1b3b refac: audio 2024-06-07 20:18:48 -07:00
Timothy J. Baek
f4a15f9590 chore: version bump 2024-06-07 15:16:24 -07:00
Karl Lee
046dd02a6d Added missing i18n key 2024-06-07 01:52:03 +08:00
Timothy J. Baek
727a837e53 fix: render mermaid after edit 2024-06-02 19:08:18 -07:00
Timothy J. Baek
3d74c04f50 feat: mermaid rendering support 2024-06-02 18:03:30 -07:00
Jun Siang Cheah
1cef48730e fix: show both message contents and error message 2024-06-01 20:59:14 +01:00
Timothy J. Baek
6bd7c20fbb fix 2024-06-01 10:33:49 -07:00
Timothy J. Baek
78b279cabc refac 2024-06-01 10:19:27 -07:00
Jun Siang Cheah
fd31b5f8d6 refac: error message separate from content 2024-06-01 15:54:02 +01:00
Liu Jiajun
5609b12852
Update ResponseMessage.svelte 2024-05-29 12:47:04 +08:00
Timothy Jaeryang Baek
abce172b9d
Merge pull request #2602 from cheahjs/feat/openai-usage-stats
feat: add OpenAI generation stats
2024-05-27 15:26:00 -07:00
Timothy J. Baek
e2e96b5776 refac: citations styling 2024-05-27 15:10:38 -07:00
Timothy J. Baek
66734a7080 refac: styling 2024-05-27 14:58:10 -07:00
Timothy J. Baek
4d64893661 refac: styling 2024-05-27 14:55:08 -07:00
Timothy J. Baek
74a8deb19f refac 2024-05-27 14:25:36 -07:00
Jun Siang Cheah
99b1661638 feat: add OpenAI generation stats 2024-05-27 10:11:53 +01:00
Timothy Jaeryang Baek
bced90734b
Merge branch 'websearch' into feat/backend-web-search 2024-05-26 23:40:05 -07:00
Timothy J. Baek
0c04b18f36 refac 2024-05-26 13:02:40 -07:00
Jun Siang Cheah
6c5f5fe368 refac: move ui flags into feature flags 2024-05-26 17:05:26 +01:00
Jun Siang Cheah
276b7b90b8 Merge remote-tracking branch 'upstream/dev' into feat/backend-web-search 2024-05-26 11:31:23 +01:00
Timothy J. Baek
7b81271b9e refac: hide signup when ENABLE_SIGNUP false 2024-05-26 03:13:13 -07:00
Timothy J. Baek
e20bb23409 feat: access archived chats as admin 2024-05-26 02:00:31 -07:00
Timothy Jaeryang Baek
6e89a481be
Merge pull request #2180 from austenadler/dev
Always open links in chat in a new tab
2024-05-25 21:32:39 -10:00
Jun Siang Cheah
b1265c9c34 Merge remote-tracking branch 'upstream/dev' into feat/backend-web-search 2024-05-25 14:55:49 +01:00
Timothy J. Baek
a6af20e1eb fix: codeblock rendering issue 2024-05-25 02:47:09 -07:00
Timothy J. Baek
c8393db97c fix 2024-05-24 22:29:26 -07:00
Timothy J. Baek
ce3d582e61 refac: responseMessage 2024-05-24 22:28:32 -07:00
Jun Siang Cheah
60433856a2 Merge remote-tracking branch 'upstream/dev' into feat/backend-web-search 2024-05-22 22:28:45 +01:00
Jun Siang Cheah
7ccef3e77a Merge remote-tracking branch 'upstream/dev' into feat/model-config 2024-05-21 19:17:42 +01:00
Timothy J. Baek
8fc64e45b9 refac: styling 2024-05-21 10:16:35 -07:00
Jun Siang Cheah
eb509c460a Merge remote-tracking branch 'origin/dev' into feat/backend-web-search 2024-05-20 18:01:29 +01:00
Jun Siang Cheah
715a4a6c27 Merge remote-tracking branch 'upstream/dev' into feat/model-config 2024-05-19 22:01:33 +08:00
Timothy J. Baek
68104358d0 fix: many model regeneration 2024-05-19 05:01:29 -07:00
Timothy J. Baek
676a4dffd0 feat: many model interaction ui 2024-05-19 04:46:35 -07:00
Jun Siang Cheah
1bacd5d93f Merge branch 'dev' into feat/model-config 2024-05-19 13:13:17 +08:00
Timothy J. Baek
1e6ddb2fb3 chore: format 2024-05-18 15:02:47 -07:00
Ido Henri Mamia
e5d574307e Merge branch 'dev' of https://github.com/open-webui/open-webui into feat/rtl-layout-chat-support 2024-05-17 13:04:03 +03:00
Ido Henri Mamia
92c694e8ac Fix arrows to be in LTR layout for all layouts 2024-05-17 13:00:31 +03:00
Timothy J. Baek
85b2a63b6d fix: matplotlib 2024-05-16 23:15:39 -10:00
Timothy J. Baek
58a13aec7e feat: python code execution 2024-05-16 17:49:28 -10:00
Jun Siang Cheah
0665703401 Merge branch 'dev' into feat/model-config 2024-05-17 11:41:37 +08:00
Ido Henri Mamia
3f4eb6caa2 Merge branch 'dev' of https://github.com/open-webui/open-webui into feat/rtl-layout-chat-support 2024-05-17 01:22:23 +03:00
Ido Henri Mamia
16b218e686 Add layout direction to all the chat components 2024-05-16 23:26:36 +03:00
Timothy J. Baek
e29a999dc9 fix: add user modal error handling 2024-05-15 19:01:02 -10:00
Jun Siang Cheah
9021f068b8 Merge remote-tracking branch 'origin/dev' into feat/backend-web-search 2024-05-16 11:36:53 +08:00
Timothy J. Baek
e6d20df463 refac: styling 2024-05-15 16:42:55 -10:00
Timothy J. Baek
b263e24e56 refac: styling 2024-05-15 00:19:10 -10:00
Timothy J. Baek
cf9dbea370 fix: styling 2024-05-14 23:50:50 -10:00
Timothy J. Baek
0722e4b690 refac: user message styling 2024-05-14 23:45:27 -10:00
Jun Siang Cheah
5e1c408937 Merge branch 'dev' into feat/backend-web-search 2024-05-14 14:03:23 +08:00
Timothy J. Baek
7e0d3496b5 fix: 1st #2208 2024-05-13 11:27:58 -10:00
Jun Siang Cheah
f49e1afaa6 feat: inject search result doc in the response, not the query
this is to handle when we have multiple models selected or regenerate a
response, it'll only add it to the model's response and not add dupes on
the user message
2024-05-12 20:45:46 +08:00
Jun Siang Cheah
654cc09128 feat: run i18next 2024-05-12 16:16:42 +08:00
Jun Siang Cheah
3baeda7edc feat: add in-message progress indicator for web search 2024-05-12 15:21:03 +08:00
Jun Siang Cheah
7538dc051e feat: use url as source name for citations 2024-05-11 23:51:50 +08:00
Austen Adler
3a1fbb936b Always open links in a new tab 2024-05-11 00:47:46 -04:00
Jun Siang Cheah
e76a444ed9 feat: allow model config via config.json 2024-05-09 20:25:30 +08:00
Timothy J. Baek
c1fc7bc764 fix: citation styling 2024-05-09 00:36:29 -07:00