Commit graph

351 commits

Author SHA1 Message Date
Timothy Jaeryang Baek
05dfb9cecd refac: floating buttons behaviour in shared chat 2025-03-31 00:57:16 -07:00
Timothy Jaeryang Baek
3be626bef3 feat: goto message 2025-03-29 17:48:57 -07:00
Timothy Jaeryang Baek
b6e56c0e5a refac 2025-03-15 18:00:18 +00:00
Timothy Jaeryang Baek
b5e74f4eae refac 2025-03-15 16:15:37 +00:00
orenzhang
b61ea393b4
refactor(lint): code lint 2025-03-07 20:03:53 +08:00
Perry Li
9cc9df3018 fix(chat): resolve duplicate collapsible IDs causing citation modal failures
Fix an issue where clicking inline citations in subsequent chat messages failed to open the citation modal when multiple collapsible sections are present.

The root cause was duplicate "collapsible-sources" IDs assigned to all Collapsible components. This led document.getElementById() to always return the first instance, preventing subsequent messages from opening their CitationModal.

Changes:
- Modify Collapsible ID generation in Citations.svelte to use unique IDs with "collapsible-${message.id}" pattern
- Update ResponseMessage.svelte's onSourceClick handler to reference the dynamic collapsible IDs
- Ensure proper citation modal binding for each chat message's sources

Affected components:
- Collapsible (expandable content sections)
- CitationsModal (citation detail popup)

This ensures each chat message's sources are independently collapsible and maintains proper citation modal binding throughout message history.
2025-03-06 10:10:53 +00:00
Timothy Jaeryang Baek
ef734833a5 fix 2025-02-26 21:22:51 -08:00
Timothy Jaeryang Baek
737b1723c7 refac 2025-02-23 14:12:41 -08:00
Timothy Jaeryang Baek
dab6396ebe fix: inline citations 2025-02-19 00:35:01 -08:00
Timothy Jaeryang Baek
f72e28a56c enh: message delete confirm dialog 2025-02-17 18:33:21 -08:00
Timothy Jaeryang Baek
e3fa48b6ce chore: tailwind v4 migration 2025-02-15 19:27:25 -08:00
Timothy Jaeryang Baek
f0feb7bd35 refac 2025-02-15 16:10:35 -08:00
Timothy Jaeryang Baek
fa92abce31 refac 2025-02-13 22:37:01 -08:00
Timothy Jaeryang Baek
5626426c31 chore: format 2025-02-12 23:28:57 -08:00
Feynman Liang
113addef46
Merge branch 'dev' into fix-9864 2025-02-12 13:47:54 -08:00
Feynman Liang
08bc7d4cfe Uncollapse so all source buttons visible 2025-02-12 13:46:42 -08:00
Timothy Jaeryang Baek
d95e5e0ba5 enh: kokorojs call support 2025-02-09 23:54:24 -08:00
Timothy Jaeryang Baek
205ce635f6 feat: Kokoro-js TTS support 2025-02-09 23:42:27 -08:00
Timothy Jaeryang Baek
4e375c892a refac 2025-01-31 23:15:49 -08:00
dannyl1u
e9f05b6cd7 feat: delete message responses 2025-01-30 20:48:06 -08:00
Sharon Fox
dda945f4ad
feat: Localized dates and times 2025-01-26 02:47:23 -05:00
Timothy Jaeryang Baek
2b1c2942a8 refac: message timestamp 2025-01-22 01:02:52 -08:00
Timothy Jaeryang Baek
c9dc7299c5 enh: <think> tag support 2025-01-22 00:13:24 -08:00
Timothy Jaeryang Baek
a863f98c53 refac: toast error 2025-01-20 22:41:32 -08:00
Timothy Jaeryang Baek
92022dd81f enh: image permissions 2025-01-15 23:12:40 -08:00
Timothy Jaeryang Baek
ccbd98dfab refac: action buttons styling 2025-01-11 13:47:02 -08:00
Timothy Jaeryang Baek
66b8166397 refac: styling 2025-01-02 20:19:52 -08:00
Timothy Jaeryang Baek
d99e3d49e1 refac 2024-12-27 00:05:32 -08:00
Timothy Jaeryang Baek
e10897236d chore: format 2024-12-24 22:44:10 -07:00
Timothy Jaeryang Baek
6b25139d4f refac: web search 2024-12-24 17:52:57 -07:00
Timothy Jaeryang Baek
a2e0fbc943 refac: collection query status 2024-12-24 16:49:32 -07:00
Timothy Jaeryang Baek
6524cae407 refac 2024-12-20 15:19:54 -08:00
Timothy Jaeryang Baek
47318daef0 enh: add to conversation 2024-12-20 15:09:17 -08:00
Timothy Jaeryang Baek
37ce88e744 refac: floating buttons 2024-12-20 14:38:15 -08:00
Timothy Jaeryang Baek
f9a05dd1e1 refac 2024-12-12 23:31:08 -08:00
Timothy Jaeryang Baek
684a7f0455 refac 2024-11-30 00:36:01 -08:00
Timothy Jaeryang Baek
81386e9b04 refac: citations -> sources 2024-11-21 19:46:09 -08:00
Timothy Jaeryang Baek
386c976e9a enh: inline citations 2024-11-21 17:58:29 -08:00
Timothy Jaeryang Baek
e54879aeb1 enh: detailed 1-10 rating 2024-11-19 20:12:22 -08:00
Timothy Jaeryang Baek
09c6e4b92f enh: citations option in model editor 2024-11-19 01:12:47 -08:00
Timothy Jaeryang Baek
c24bc60d35
Merge pull request #6989 from Peter-De-Ath/fix-action-button
fix action buttons
2024-11-16 23:44:26 -08:00
Timothy Jaeryang Baek
cf2dcf1dc3 feat: user permissions 2024-11-16 21:31:57 -08:00
Peter De-Ath
6332e46e7b fix: update actionMessage to include message parameter 2024-11-16 22:17:55 +00:00
Timothy Jaeryang Baek
a0f1164af7 refac 2024-11-15 03:00:18 -08:00
Timothy Jaeryang Baek
655745ee0c refac: styling 2024-11-10 19:47:55 -08:00
Timothy Jaeryang Baek
c92091721b refac: sticky new chat selected models behaviour 2024-11-10 18:01:10 -08:00
Timothy J. Baek
02269a21a9 refac 2024-11-06 02:58:44 -08:00
Timothy J. Baek
ccbf5a08f3 refac 2024-11-06 02:19:04 -08:00
Timothy J. Baek
09935d191f refac: feedback base_models 2024-10-28 15:19:02 -07:00
Timothy J. Baek
e03e22dd1f enh: include base model id in feedback metadata 2024-10-28 15:07:40 -07:00
Timothy J. Baek
205402e096 refac 2024-10-24 01:01:00 -07:00
Timothy J. Baek
744139d2ce refac 2024-10-24 00:35:27 -07:00
Timothy J. Baek
a28ef8acc5 refac 2024-10-24 00:34:44 -07:00
Timothy J. Baek
9c2d592c73 enh: include message_turn metadata 2024-10-24 00:23:31 -07:00
Timothy J. Baek
0f4b6cdb67 refac 2024-10-23 20:49:18 -07:00
Timothy J. Baek
ec37d801be refac: feedback optimisation 2024-10-23 20:27:32 -07:00
Timothy J. Baek
076f9fd9c0 enh: auto tag feedback 2024-10-23 20:18:51 -07:00
Timothy J. Baek
4a1bf6d6c4 refac 2024-10-23 01:23:49 -07:00
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