Commit Graph

3088 Commits

Author SHA1 Message Date
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
richardclim
a4e504a93e Update constant.ts
Change timeout for models that are thinking that do not output thinking part (since they do not output thinking part, it is registered by the system as non thinking.)
2025-04-13 22:13:52 -04:00
richardclim
9b584e7846 Update constant.ts
add gemini 2.5 pro
2025-03-28 02:23:11 -04:00
richardclim
3c543f4be4 3.7 sonnet fix emoji 2025-02-26 19:53:06 -05:00
richardclim
9d85608239 azure 504 issue test 2025-02-26 19:09:34 -05:00
richardclim
330687d647 3.7 sonnet thinking tag
added  start and end tag to thinking and allowed redacted_thinking as a response.
2025-02-26 17:30:12 -05:00
richardclim
71d9235cac sonnet 3.7 process thinking 2025-02-26 03:42:34 -05:00
richardclim
0ccf309519 sonnet 3.7 fix 2025-02-26 02:45:21 -05:00
richardclim
568aa0b5e0 sonnet 3.7 update fix
change temp to 1 if sonnet 3.7. otherwise use userSelection and removed top_k
2025-02-26 00:57:13 -05:00
richardclim
a5a8b1cd0f sonnet 3.7 update
adding the thinking parameter toggle.
2025-02-26 00:41:58 -05:00
GH Action - Upstream Sync
95f998110f Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web 2025-02-22 00:52:40 +00:00
RiverRay
f5f3ce94f6
Update README.md
Some checks failed
Run Tests / test (push) Has been cancelled
2025-02-21 08:56:43 +08:00
RiverRay
2b5f600308
Update README.md 2025-02-21 08:55:40 +08:00
richardclim
0534b21acd fix include_reasoning from propagating in non openrouter endpoints 2025-02-19 03:45:18 -05:00
GH Action - Upstream Sync
fd9f074e30 Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web 2025-02-18 00:53:46 +00:00
RiverRay
b966107117
Merge pull request #6235 from DBCDK/danish-locale
Some checks failed
Run Tests / test (push) Has been cancelled
Translation to danish
2025-02-17 22:58:01 +08:00
GH Action - Upstream Sync
b111572bd6 Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web 2025-02-17 00:56:31 +00:00
richardclim
8d1b65e24f Update openai.ts 2025-02-16 04:01:36 -05:00
richardclim
bb5b93e562 Update openai.ts
allow thinking from openrouter.
2025-02-16 03:57:50 -05:00
river
377480b448 Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web
Some checks failed
Run Tests / test (push) Has been cancelled
2025-02-16 10:50:07 +08:00
river
8bd0d6a1a7 chore: Update NextChatAI domain from nextchat.dev to nextchat.club 2025-02-16 10:48:54 +08:00
Rasmus Erik Voel Jensen
90827fc593 danish rewording / improved button label 2025-02-15 13:08:58 +01:00
Rasmus Erik Voel Jensen
008e339b6d danish locale 2025-02-15 12:52:44 +01:00
GH Action - Upstream Sync
57be29375a Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web 2025-02-14 00:53:53 +00:00
RiverRay
12863f5213
Merge pull request #6204 from bestsanmao/ali_bytedance_reasoning_content
Some checks failed
Run Tests / test (push) Has been cancelled
add 3 type of reasoning_content support (+deepseek-r1@OpenAI @Alibaba @ByteDance), parse <think></think> from SSE
2025-02-13 14:53:47 +08:00
suruiqiang
cf140d4228 Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web into ali_bytedance_reasoning_content 2025-02-12 17:54:50 +08:00
suruiqiang
476d946f96 fix bug (trim eats space or \n mistakenly), optimize timeout by model 2025-02-12 17:49:54 +08:00
GH Action - Upstream Sync
80f5b278c1 Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web 2025-02-12 00:54:03 +00:00
suruiqiang
9714258322 support deepseek-r1@OpenAI's reasoning_content, parse <think></think> from stream 2025-02-11 18:57:16 +08:00
RiverRay
48cd4b11b5
Merge pull request #6190 from siliconflow/refine-emoji-siliconflow
Some checks failed
Run Tests / test (push) Has been cancelled
Fix model icon on SiliconFlow
2025-02-11 18:37:47 +08:00
RiverRay
77c78b230a
Merge pull request #6193 from siliconflow/get-models-siliconflow
Model listing of SiliconFlow
2025-02-11 18:37:22 +08:00
RiverRay
b44686b887
Merge pull request #6189 from bestsanmao/bug_fix
fix avatar for export message preview and saved image
2025-02-11 18:36:50 +08:00
RiverRay
34bdd4b945
Merge pull request #6194 from siliconflow/vl-support-on-sf
Support VLM on SiliconFlow
2025-02-11 18:35:02 +08:00
suruiqiang
b0758cccde optimization 2025-02-11 16:08:30 +08:00
suruiqiang
98a11e56d2 support alibaba and bytedance's reasoning_content 2025-02-11 12:46:46 +08:00
Shenghang Tsai
86f86962fb Support VLM on SiliconFlow 2025-02-10 13:39:06 +08:00
Shenghang Tsai
2137aa65bf Model listing of SiliconFlow 2025-02-10 11:03:49 +08:00
GH Action - Upstream Sync
a257842de3 Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web 2025-02-10 00:54:55 +00:00
Shenghang Tsai
18fa2cc30d fix model icon on siliconflow 2025-02-09 18:49:26 +08:00
Shenghang Tsai
0bfc648085 fix model icon on siliconflow 2025-02-09 18:47:57 +08:00
suruiqiang
9f91c2d05c fix avatar for export message preview and saved image 2025-02-09 16:52:46 +08:00
Richard C Lim
2a8dd83440
Update common.ts 2025-02-08 22:43:37 -05:00
Richard C Lim
06472adea9
Update common.ts 2025-02-08 22:38:17 -05:00
RiverRay
a029b4330b
Merge pull request #6188 from ChatGPTNextWeb/Leizhenpeng-patch-4
Some checks failed
Run Tests / test (push) Has been cancelled
Update LICENSE
2025-02-09 11:05:43 +08:00
RiverRay
2842b264e0
Update LICENSE 2025-02-09 11:05:32 +08:00
RiverRay
c2edfec16f
Merge pull request #6172 from bestsanmao/bug_fix
fix several bugs
2025-02-09 11:03:44 +08:00
RiverRay
6406ac99a3
Merge pull request #6175 from itsevin/main
Add other Xai model
2025-02-09 11:02:13 +08:00
suruiqiang
97a4aafc92 Merge remote-tracking branch 'remotes/origin/main' into bug_fix 2025-02-09 09:46:07 +08:00
GH Action - Upstream Sync
d8f533e1f3 Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web 2025-02-09 01:22:47 +00:00
GH Action - Upstream Sync
762f2cba5c Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web 2025-02-09 00:56:48 +00:00