Commit Graph

331 Commits

Author SHA1 Message Date
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
5837dcbfd4 refac: chat controls resize behaviour 2024-10-12 01:10:10 -07:00
Timothy J. Baek
ad31bd51fd refac 2024-10-09 12:36:52 -07:00
Timothy J. Baek
a3f2b7045c refac: dropzone body -> chat-container 2024-10-08 23:55:38 -07:00
Timothy J. Baek
e66619262a refac 2024-10-08 22:34:17 -07:00
Timothy J. Baek
07a556df55 refac: landing page styling 2024-10-08 13:45:34 -07:00
Timothy J. Baek
457360dae7 refac 2024-10-07 22:53:36 -07:00
Timothy J. Baek
9bd5567552 enh: 'execute' event type 2024-10-07 22:50:57 -07:00
Timothy J. Baek
3c5b216612 fix 2024-10-07 18:26:03 -07:00
Timothy J. Baek
f099b277c8 enh: youtube watch param support 2024-10-07 18:19:13 -07:00
Timothy J. Baek
854024cdf8 refac: show chat menu in temp chat 2024-10-07 14:28:28 -07:00
Timothy J. Baek
57df49274c refac: tools url param handling 2024-10-06 22:00:23 -07:00
Timothy J. Baek
58ca5e42c2 refac: url param tool_ids -> tools/tool-ids 2024-10-06 20:41:56 -07:00
Timothy J. Baek
1c1e6a7172 refac 2024-10-06 16:39:46 -07:00
Timothy J. Baek
8ad44cd690 enh: chat landing ui option 2024-10-06 11:45:13 -07:00
Timothy J. Baek
3082d0de7a enh: apply edit to artifacts 2024-10-06 01:12:30 -07:00
Timothy J. Baek
de59ecf8a3 feat: artifacts
Co-Authored-By: Andrew Tait Gehrhardt <134739775+atgehrhardt@users.noreply.github.com>
2024-10-05 23:58:02 -07:00
Timothy J. Baek
c09e51c1bf fix: banner styling 2024-10-05 17:09:49 -07:00
Timothy J. Baek
3dd1d1bc4a fix 2024-10-05 17:05:26 -07:00
Timothy J. Baek
ed1a2ab5e8 refac: explain button behaviour 2024-10-05 16:50:06 -07:00
Timothy J. Baek
1b8acc42b4 refac 2024-10-05 14:27:16 -07:00
Timothy J. Baek
1397bfa84c refac: navbar styling 2024-10-05 14:26:54 -07:00
Timothy J. Baek
cb0f759420 refac: knowledge collection uploading indicator 2024-10-05 10:18:43 -07:00
Timothy J. Baek
0319e63999 enh: new landing page 2024-10-05 03:07:56 -07:00
Timothy J. Baek
0ad35ffad9 feat: text select quick actions 2024-10-05 01:37:39 -07:00
Timothy J. Baek
ee6e41b144 refac: legacy support 2024-10-04 16:56:20 -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
7152af949b feat: compress audio
Co-Authored-By: Beck Bekmyradov <47065940+bekmuradov@users.noreply.github.com>
2024-09-30 00:30:12 +02:00
Timothy J. Baek
1d8b3b8c51 refac 2024-09-29 22:11:50 +02:00
Timothy J. Baek
af57a2c153 refac 2024-09-28 02:23:09 +02:00
Timothy J. Baek
a52e8cd537 refac 2024-09-28 01:35:31 +02:00
Timothy J. Baek
1d225dd804 fix: chat pdf, txt export issue 2024-09-26 20:59:25 +02:00
Timothy J. Baek
4eeb669ac3 refac 2024-09-26 03:21:37 +02:00
Timothy J. Baek
6c4445d545 fix: filter outlet issue 2024-09-25 13:44:06 +02:00
Timothy J. Baek
1767b64135 fix: 'call' url search param not working 2024-09-25 01:02:48 +02:00
Timothy J. Baek
07b1327708 fix 2024-09-24 18:32:14 +02:00
Timothy J. Baek
525095b3de fix: websearch not working issue
#5672
2024-09-24 18:25:21 +02:00
Timothy J. Baek
6739983cf1 refac: deprecate interface "stream response" settings for advanced params 2024-09-24 12:49:35 +02:00
Timothy Jaeryang Baek
9a81a37008
Merge pull request #5645 from kivvi3412/main
[feat] Set whether to stream individually for the model
2024-09-24 10:52:00 +02:00
kivvi
40d7d7d6dd Set whether to stream responses for this model individually, overriding the global setting 2024-09-24 12:14:51 +08:00
Timothy J. Baek
fdf02c4e86 fix 2024-09-24 01:12:49 +02:00
Timothy J. Baek
ad82eae6a9 feat: create new message pair on cmd+shift+enter 2024-09-24 00:57:28 +02:00
Timothy J. Baek
93cb2be35d refac 2024-09-23 23:55:18 +02:00
Timothy J. Baek
5978e7c9a6 refac: wip 2024-09-23 01:36:46 +02:00
Timothy J. Baek
fd5e8b4fcf refac: deprecate messages for history 2024-09-23 00:55:13 +02:00
Timothy J. Baek
73ff524a8f refac 2024-09-22 20:31:53 +02:00
Timothy J. Baek
44355a4bdc enh: 'model' url search param added 2024-09-22 14:52:30 +02:00
Timothy J. Baek
c346130774 feat: overview favourite response 2024-09-22 02:53:38 +02:00
Timothy J. Baek
839dacc4a4 refac 2024-09-21 15:53:29 +02:00
Timothy J. Baek
8fc178ae91 refac: chat controls size 2024-09-21 15:46:39 +02:00
Timothy J. Baek
d3ef9d980b refac 2024-09-21 04:36:18 +02:00
Timothy J. Baek
426de76690 refac 2024-09-21 04:24:38 +02:00
Timothy J. Baek
2adaf9ba3d refac 2024-09-21 04:10:24 +02:00
Timothy J. Baek
f381850bb2 refac 2024-09-21 04:04:34 +02:00
Timothy J. Baek
aed8e2156f refac 2024-09-21 03:44:44 +02:00
Timothy J. Baek
692f04d457 enh: width adjustable chat controls 2024-09-21 03:33:06 +02:00
Timothy J. Baek
e99cba53fe enh: stream=false support 2024-09-19 16:25:59 +02:00
Timothy J. Baek
5c16631ec5 refac 2024-09-19 15:35:01 +02:00
Timothy J. Baek
27dd6ef14e refac 2024-09-19 05:15:06 +02:00
Timothy J. Baek
276d629a14 fix: message delete 2024-09-19 03:49:35 +02:00
Timothy J. Baek
e723b2a4c6 refac 2024-09-18 03:19:32 +02:00
Timothy J. Baek
67f704c98d enh: scroll to message from overview 2024-09-18 03:13:37 +02:00
Timothy J. Baek
56152230f8 refac 2024-09-18 01:39:22 +02:00
Timothy J. Baek
d1dbb9a3be feat: chat overview 2024-09-17 22:05:19 +02:00
Timothy J. Baek
4c9ea084d5 chore: format 2024-09-07 05:03:26 +01:00
Timothy J. Baek
5c8fb4b3d5 refac: web search 2024-09-07 04:50:29 +01:00
Timothy J. Baek
890824ced4 fix: advanced params not being applied to ollama 2024-09-03 15:43:26 +02:00
Timothy J. Baek
1803c7adeb refac 2024-09-03 15:24:58 +02:00
Timothy J. Baek
fa8bb51b81 refac 2024-09-03 15:23:38 +02:00
Timothy J. Baek
9bea1950dc feat: web search url search param 2024-09-03 15:15:46 +02:00
Timothy J. Baek
7a024fbe1e refac 2024-08-27 18:18:40 +02:00
Timothy Jaeryang Baek
9dade91ef5
Merge pull request #4917 from Yanyutin753/upload_files_limit
🤖 Limit the size and number of uploaded files
2024-08-27 17:09:52 +02:00
Timothy J. Baek
35fa278b37 chore: format 2024-08-27 17:07:47 +02:00
Timothy J. Baek
6a21a77ee9 refac 2024-08-27 17:05:24 +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
d78c35c9ba
refac: Tidy Chat.svelte 2024-08-25 20:27:50 -04:00
Timothy J. Baek
48503573c1 refac: call overlay styling 2024-08-23 16:42:36 +02:00
Timothy J. Baek
61503a654c enh: call=true url search param 2024-08-22 17:17:32 +02:00
Timothy J. Baek
85f8a80389 refac 2024-08-22 16:31:33 +02:00
Jannik Streidl
abe17ab4b5 feat: show rag status when using models with knowledge collections 2024-08-22 14:30:11 +02:00
Timothy J. Baek
dc4c6b3b14 enh: temporary-chat url search param 2024-08-21 18:55:12 +02:00
Timothy J. Baek
c675beeda4 refac 2024-08-18 21:14:22 +02:00
Timothy J. Baek
fe0cf9506c refac 2024-08-18 21:11:59 +02:00
Timothy J. Baek
7c81509804 feat: merge responses 2024-08-18 20:59:59 +02:00
Timothy J. Baek
28e3e6e8cb refac: many model chat 2024-08-16 18:54:30 +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
dc6ca61548 enh: temp chat
deprecates chat history setting and introduces temp chat from model selector
2024-08-15 16:54:16 +02:00
Timothy J. Baek
55097410f6 feat: haptic feedback on support devices (android)
Co-Authored-By: Danny Liu <dannyjialiliu@gmail.com>
2024-08-14 17:05:43 +02:00
Timothy J. Baek
7ef5aa520c chore: format 2024-08-13 11:12:35 +01:00
Timothy J. Baek
49677e9c9d refac 2024-08-04 17:04:15 +02:00
Timothy J. Baek
a084938d9c refac: chatlist skip, limit -> page 2024-08-04 16:58:08 +02:00
Timothy Jaeryang Baek
389d650ee3
Merge pull request #4266 from thearyadev/sidebar-pagination
feat: Sidebar infinite scroll (pagination)
2024-08-04 15:33:09 +02:00
Timothy J. Baek
080d45239a fix: chat control "stop token" param issue 2024-08-04 14:27:18 +02:00
Jun Siang Cheah
283234d51d fix: missing openai usage information 2024-08-03 19:06:19 +01:00
Aryan Kothari
f9e1a933a9 fix: bug in chat deletion pagination interact
change 1: when selecting a tag to filter the `tagView` store is set to disable paginated loading. This is so all tagged items can be loaded at once.  deleting a tag when in the filtered view returns to the unfiltered view. this change now sets the `tagView` store to `false` so pagination can continue

change 2: formatting
2024-08-03 11:53:02 -04:00
Aryan Kothari
6847c2fc8c Merge branch 'origin/dev' into sidebar-pagination [skip ci] 2024-08-03 09:57:54 -04:00
Timothy J. Baek
67efd0dd39 enh: enable tools with url search param 2024-08-02 18:32:51 +02:00
Timothy J. Baek
c8f44b73f1 refac: user valves save handler 2024-08-02 17:36:16 +02:00
Aryan Kothari
06a64219bc fix: bool eval order 2024-08-01 15:54:12 -04:00
Aryan Kothari
2c4bc7a2b2 refactor: uses of chats.set(...) support pagi sidebar 2024-08-01 15:20:36 -04:00
Peter De-Ath
cbe3694b81 refac: add eventConfirmationInputValue handling in Chat.svelte 2024-07-22 20:43:31 +01:00
Timothy J. Baek
8ec3ed1830 refac: file handling 2024-07-17 22:01:39 +02:00
Timothy J. Baek
98f935b8f7 fix 2024-07-17 17:00:43 +02:00
Timothy J. Baek
9e48aeca45 fix: web search 2024-07-17 15:39:50 +02:00
Timothy J. Baek
98928fc5f0 fix 2024-07-17 13:15:57 +02:00
Timothy J. Baek
4eecdbadd3 enh: files chat control 2024-07-17 11:39:37 +02:00
Timothy J. Baek
27e7494853 refac: title gen should only run once 2024-07-16 14:00:09 +02:00
Timothy J. Baek
d258523a3c refac 2024-07-15 13:09:15 +02:00
Timothy J. Baek
1ec2e74b07 chore: format 2024-07-15 10:58:40 +02:00
Michael Poluektov
540a669dae feat: replace message event 2024-07-12 10:41:03 +01: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
90c3d68f00 enh: input type event call 2024-07-11 17:30:24 -07:00
Timothy J. Baek
97098edfeb feat: chat valves 2024-07-11 17:18:18 -07:00
Timothy J. Baek
7ba7b959a8 feat: message event 2024-07-11 11:00:42 -07:00
Timothy J. Baek
666a8ea5c0 refac 2024-07-08 23:18:35 -07:00
Timothy J. Baek
1b7ff1c5df feat: __event_call__ support 2024-07-08 21:39:06 -07:00
Timothy J. Baek
30e2ec7544 feat: chat controls integration 2024-07-08 19:26:31 -07:00
Timothy J. Baek
9cea5f75bb refac: styling 2024-07-08 18:31:58 -07:00
Timothy J. Baek
b8d153ebb2 feat: chat controls ui 2024-07-08 16:55:12 -07:00
Timothy J. Baek
983fe4b2bc refac 2024-07-05 21:20:27 -07:00
Michael Poluektov
55b7c30028 simplify citation API 2024-07-04 18:50:09 +01:00
Michael Poluektov
0527755600 use data field 2024-07-04 12:21:09 +01:00
Michael Poluektov
4e433d9015 wip: citations via __event_emitter__ 2024-07-03 18:18:33 +01:00
Timothy J. Baek
d97a4d687e refac 2024-07-01 21:41:44 -07:00
Timothy J. Baek
52cae406b4 feat: chat event handler 2024-07-01 20:53:24 -07:00
Timothy J. Baek
a07051f51b feat: __event_emitter__ 2024-07-01 20:05:02 -07:00
Timothy J. Baek
c7a9b5ccfa refac: chat completion middleware 2024-07-01 19:33:58 -07:00
Timothy J. Baek
9504c9c9b4 fix 2024-06-24 15:32:49 -07:00
Timothy J. Baek
284ab648b6 fix 2024-06-24 15:21:42 -07:00
Timothy J. Baek
0f4f01cee9 fix 2024-06-24 14:00:48 -07:00
Timothy J. Baek
68b3cce0fd fix: query memory 2024-06-24 14:00:08 -07:00
Timothy J. Baek
a82154de3f refac 2024-06-23 23:15:24 -07:00
Timothy J. Baek
f33ca4c9a5 refac 2024-06-23 23:10:26 -07:00
Timothy J. Baek
98c18b3032 fix: web search 2024-06-22 13:13:46 -07:00
Timothy J. Baek
c689356b31 refac 2024-06-20 03:57:36 -07:00
Timothy J. Baek
afd270523c feat: filter func outlet 2024-06-20 03:23:50 -07:00
Timothy J. Baek
3101ff143b refac: disable continuing with error message 2024-06-20 02:47:27 -07:00
Timothy J. Baek
c4bd60114e feat: filter inlet support 2024-06-20 02:30:00 -07:00
Timothy J. Baek
1b100660af fix: image 2024-06-19 13:31:01 -07:00
Timothy J. Baek
807cfdecfb fix 2024-06-18 17:09:29 -07:00
Timothy J. Baek
31f768bf8a fix 2024-06-18 17:07:13 -07:00
Timothy J. Baek
514c7f1520 fix: rag 2024-06-18 16:08:42 -07:00
Timothy J. Baek
35026849df refac: styling 2024-06-18 15:39:50 -07:00
Timothy J. Baek
1a22ae54a2 fix: styling 2024-06-18 14:58:19 -07:00
Timothy J. Baek
d93160799f refac: files 2024-06-18 14:37:12 -07:00
Timothy J. Baek
4a3362f889 fix: help 2024-06-17 11:46:23 -07:00
Timothy J. Baek
9023a60d0d refac 2024-06-17 01:42:04 -07:00