google-labs-jules[bot]
57fab4de93
feat: Add paste question/response feature
...
This commit introduces a feature that allows you to paste questions and responses directly into the chat application.
Key changes:
- Added new icons for pasting questions and responses.
- Modified `app/components/chat.tsx`:
- Imported new icons.
- Added `ChatAction` buttons for paste actions.
- Implemented `handlePasteQuestion` and `handlePasteResponse` to take content from the main input area.
- Your pasted messages are marked with `isPasted: true`.
- Edit button visibility is maintained for all messages, including pasted ones.
- Modified `app/store/chat.ts`:
- Added `isPasted` field to the `ChatMessage` interface.
- Ensured `onUserInput` does not make API calls for pasted messages.
- Verified that `summarizeSession` (for auto title generation) correctly includes pasted content.
The feature allows you to input content into the main text area and then click one of the new paste buttons. This will add the content to the chat as either a user question or an assistant response, styled like other messages but without sending an API request.
Note: I was unable to perform manual UI testing of the latest input method (using the main input area) due to environment limitations. However, I previously confirmed that the core paste functionality (using a prompt) was successfully tested.
2025-06-19 03:04:20 +00:00
ZhangYichi
51384ddc5f
Fix: Set consistent fill color for OpenAI/MoonShot/Grok SVG to prevent color inversion in dark mode
2025-02-07 11:13:22 +08:00
Eric-2369
5225a6e192
feat: add more llm icons
2025-02-05 12:34:00 +08:00
Kadxy
07c63497dc
feat: support stop/start MCP servers
2025-01-16 08:52:54 +08:00
river
c89e4883b2
chore: update icon
2025-01-15 17:31:18 +08:00
Kadxy
8aa9a500fd
feat: Optimize MCP configuration logic
2025-01-15 16:52:54 +08:00
Kadxy
7d51bfd42e
feat: MCP market
2025-01-09 19:51:01 +08:00
lloydzhou
7d71da938f
remove close-24 svg
2024-11-11 13:15:09 +08:00
Dogtiti
f6e1f8398b
wip
2024-11-06 22:07:33 +08:00
Dogtiti
d544eead38
feat: realtime chat ui
2024-11-06 21:14:45 +08:00
lyf
9858d1f958
add top tip
2024-09-19 18:21:26 +08:00
lyf
62efab987b
add fanyi add top tip
2024-09-19 16:58:51 +08:00
river
775794e0e4
chore: add setting
2024-09-19 12:38:46 +08:00
DDMeaqua
212605a7e3
Merge branch 'main' into tts-stt
2024-09-18 10:39:56 +08:00
DDMeaqua
18e2403b01
chore: 更换icon
2024-09-10 14:30:51 +08:00
DDMeaqua
f86b220c92
feat: add voice action
2024-08-27 19:50:16 +08:00
DDMeaqua
2f410fc09f
feat: add tts stt
2024-08-27 16:21:02 +08:00
heweikang
3da5284a07
优化搜索算法,更新图标
2024-08-15 12:38:20 +08:00
l.tingting
ca865a80dc
dall-e-3 adds 'quality' and 'style' options
2024-08-10 11:09:07 +08:00
lloydzhou
1c24ca58c7
add dalle3 model
2024-08-02 18:03:19 +08:00
Dogtiti
fd441d9303
feat: discovery icon
2024-07-24 20:41:41 +08:00
Dogtiti
6b98b14179
fix: sd mobile
2024-07-23 20:24:56 +08:00
Dogtiti
9d55adbaf2
refator: sd
2024-07-23 00:51:58 +08:00
DeanYao
d89a12aa05
Revert "Chat gpt"
2024-05-20 19:02:46 +08:00
Hao Jia
754303e7c7
v0.0.0
2024-03-14 16:36:32 +08:00
TheRam_
e2da3406d2
Add vision support ( #4076 )
2024-02-20 18:04:32 +08:00
Jerry Zhou
e1b065c74a
[ImgBot] Optimize images ( #3941 )
...
*Total -- 2,603.15kb -> 2,299.83kb (11.65%)
/docs/images/upstash-7.png -- 83.76kb -> 56.04kb (33.1%)
/public/android-chrome-512x512.png -- 95.26kb -> 65.26kb (31.49%)
/docs/images/upstash-1.png -- 23.29kb -> 15.98kb (31.4%)
/docs/images/upstash-6.png -- 66.20kb -> 46.73kb (29.42%)
/docs/images/upstash-5.png -- 66.88kb -> 47.31kb (29.26%)
/docs/images/upstash-4.png -- 37.04kb -> 26.39kb (28.75%)
/docs/images/upstash-3.png -- 49.25kb -> 35.67kb (27.57%)
/public/apple-touch-icon.png -- 18.71kb -> 14.60kb (21.97%)
/public/android-chrome-192x192.png -- 20.52kb -> 16.06kb (21.74%)
/public/macos.png -- 73.77kb -> 57.84kb (21.59%)
/src-tauri/icons/icon.png -- 82.18kb -> 65.26kb (20.58%)
/docs/images/upstash-2.png -- 64.79kb -> 51.85kb (19.97%)
/app/icons/send-white.svg -- 0.95kb -> 0.82kb (13.83%)
/app/icons/close.svg -- 0.96kb -> 0.83kb (13.76%)
/app/icons/reload.svg -- 1.22kb -> 1.06kb (13.36%)
/app/icons/return.svg -- 0.99kb -> 0.86kb (13.33%)
/app/icons/chat.svg -- 1.50kb -> 1.31kb (12.28%)
/app/icons/settings.svg -- 1.10kb -> 0.96kb (12.02%)
/app/icons/eye.svg -- 1.30kb -> 1.17kb (9.92%)
/public/favicon-32x32.png -- 1.70kb -> 1.56kb (8.12%)
/app/icons/eye-off.svg -- 1.84kb -> 1.71kb (6.99%)
/docs/images/head-cover.png -- 1,724.78kb -> 1,608.59kb (6.74%)
/app/icons/bot.svg -- 4.17kb -> 3.89kb (6.57%)
/src-tauri/icons/Square71x71Logo.png -- 6.38kb -> 6.03kb (5.47%)
/src-tauri/icons/Square89x89Logo.png -- 8.61kb -> 8.16kb (5.25%)
/src-tauri/icons/Square44x44Logo.png -- 3.44kb -> 3.30kb (4.09%)
/app/icons/clear.svg -- 1.24kb -> 1.19kb (3.87%)
/app/icons/edit.svg -- 1.61kb -> 1.55kb (3.58%)
/app/icons/pause.svg -- 1.09kb -> 1.05kb (3.58%)
/src-tauri/icons/Square107x107Logo.png -- 11.03kb -> 10.64kb (3.57%)
/app/icons/rename.svg -- 0.89kb -> 0.86kb (3.29%)
/src-tauri/icons/StoreLogo.png -- 4.03kb -> 3.90kb (3.2%)
/app/icons/auto.svg -- 1.30kb -> 1.26kb (3.01%)
/app/icons/chatgpt.svg -- 3.51kb -> 3.42kb (2.64%)
/app/icons/dark.svg -- 0.83kb -> 0.81kb (2.35%)
/app/icons/light.svg -- 2.98kb -> 2.91kb (2.23%)
/app/icons/drag.svg -- 1.36kb -> 1.33kb (2.16%)
/src-tauri/icons/128x128.png -- 13.99kb -> 13.73kb (1.82%)
/app/icons/pin.svg -- 5.83kb -> 5.75kb (1.39%)
/app/icons/break.svg -- 4.53kb -> 4.47kb (1.21%)
/app/icons/connection.svg -- 8.14kb -> 8.05kb (1.01%)
/app/icons/confirm.svg -- 2.24kb -> 2.22kb (1%)
/app/icons/cancel.svg -- 3.54kb -> 3.50kb (0.97%)
/app/icons/robot.svg -- 11.72kb -> 11.62kb (0.89%)
/app/icons/config.svg -- 14.93kb -> 14.81kb (0.78%)
/app/icons/cloud-fail.svg -- 6.25kb -> 6.20kb (0.75%)
/app/icons/cloud-success.svg -- 4.69kb -> 4.66kb (0.75%)
/app/icons/upload.svg -- 10.70kb -> 10.62kb (0.75%)
/app/icons/lightning.svg -- 3.49kb -> 3.47kb (0.62%)
/app/icons/chat-settings.svg -- 8.99kb -> 8.96kb (0.38%)
/src-tauri/icons/Square142x142Logo.png -- 16.15kb -> 16.09kb (0.34%)
/src-tauri/icons/Square150x150Logo.png -- 17.53kb -> 17.51kb (0.07%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2024-01-29 14:10:07 +08:00
Yidadaa
6f83fbd212
feat: add webdav support
2023-09-13 02:51:02 +08:00
Yidadaa
3ddedc903e
feat: improve dnd icon
2023-07-16 15:49:15 +08:00
Yidadaa
ea6926cad3
feat: replace window.prompt with showPrompt
2023-06-29 00:09:56 +08:00
Yidadaa
7893693706
feat: close #1615 pin messages to contextual prompts
2023-06-26 00:21:58 +08:00
Yidadaa
5d06fa217c
feat: close #2013 add switch model button to chat actions
2023-06-24 22:41:13 +08:00
imgbot[bot]
cd7e8bbd3e
chore: optimize images ( #1 )
...
*Total -- 122.47kb -> 90.64kb (25.98%)
/public/android-chrome-512x512.png -- 23.67kb -> 8.61kb (63.61%)
/app/icons/chatgpt.png -- 9.37kb -> 3.59kb (61.73%)
/app/icons/bot.png -- 7.14kb -> 4.98kb (30.2%)
/app/icons/three-dots.svg -- 1.46kb -> 1.09kb (25.75%)
/public/apple-touch-icon.png -- 11.30kb -> 8.45kb (25.21%)
/public/android-chrome-192x192.png -- 12.39kb -> 9.60kb (22.51%)
/public/favicon-32x32.png -- 1.51kb -> 1.22kb (19.21%)
/app/icons/min.svg -- 2.41kb -> 2.04kb (15.2%)
/app/icons/max.svg -- 2.24kb -> 1.90kb (14.98%)
/app/icons/menu.svg -- 1.17kb -> 1.00kb (14.64%)
/app/icons/share.svg -- 0.72kb -> 0.63kb (12.84%)
/app/icons/add.svg -- 1.25kb -> 1.09kb (12.46%)
/app/icons/github.svg -- 1.97kb -> 1.76kb (10.68%)
/app/icons/brain.svg -- 1.81kb -> 1.64kb (9.42%)
/app/icons/black-bot.svg -- 4.17kb -> 3.89kb (6.66%)
/docs/images/icon.svg -- 4.17kb -> 3.89kb (6.57%)
/app/icons/bottom.svg -- 0.72kb -> 0.69kb (4.08%)
/app/icons/download.svg -- 1.70kb -> 1.64kb (3.96%)
/app/icons/left.svg -- 0.56kb -> 0.54kb (3.49%)
/app/icons/down.svg -- 0.56kb -> 0.54kb (3.48%)
/app/icons/mask.svg -- 2.13kb -> 2.06kb (3.21%)
/app/icons/export.svg -- 1.20kb -> 1.16kb (3.17%)
/app/icons/copy.svg -- 0.99kb -> 0.96kb (2.87%)
/app/icons/prompt.svg -- 1.23kb -> 1.20kb (2.38%)
/app/icons/plugin.svg -- 3.54kb -> 3.48kb (1.6%)
/app/icons/delete.svg -- 23.11kb -> 23.00kb (0.49%)
Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2023-05-23 13:57:26 +08:00
Yidadaa
ec61a5b32d
fix : #1681 replace svg icons with png icons
2023-05-22 23:49:11 +08:00
Yidadaa
35cec0f1df
fixup: i18n and icon minor changes
2023-05-21 01:44:59 +08:00
Yidadaa
a19d238483
feat: close #1415 clear context button
2023-05-21 01:28:09 +08:00
PaRaD1SE98
96e3d3a22c
给所有select元素添加一个右侧下拉按钮
2023-05-10 07:14:49 +00:00
Yidadaa
fb32770486
feat: i18n refactor and style adjustment
2023-04-28 00:34:37 +08:00
Yidadaa
59edcc3e2e
feat: add side bar mask entry
2023-04-27 02:12:09 +08:00
Yidadaa
c7c58ef031
feat: add i18n for mask
2023-04-27 01:16:21 +08:00
Yidadaa
a7a8aad9bc
feat: add mask crud
2023-04-26 02:02:46 +08:00
Yidadaa
ffa7302571
feat: add mask page
2023-04-25 00:49:27 +08:00
Yidadaa
7e8973c9ff
feat: close #291 gpt-4 model uses black icon
2023-04-20 22:52:14 +08:00
L1468999760
e68207be2c
fix:delete user.svg
2023-04-18 11:34:33 +08:00
Yidadaa
dc3883ed1a
feat: close #118 add stop all button
2023-04-16 18:07:43 +08:00
Yidadaa
47a2911ee2
feat: edit session title button
2023-04-15 02:37:24 +08:00
Yidadaa
8363cdd9fa
feat: close #680 lazy rendering markdown
2023-04-13 02:07:24 +08:00
Yidadaa
eae5a8a2e6
feat: #577 maximum / minimium icon
2023-04-10 00:00:36 +08:00
Yidadaa
806587c8ea
fix : #512 Mobile renaming should not return to chat list
2023-04-06 23:47:47 +08:00
Feifan Zheng
bb30fdfa17
feat: optimize usage display
2023-04-03 12:18:04 +00:00