Commit Graph

1166 Commits

Author SHA1 Message Date
Kivi1998 7f3516f44f
Merge branch 'main' into chatGPT 2024-05-16 15:14:43 +08:00
Hao Jia bfdb47a7ed ChatGPT Logo 2024-05-16 15:03:14 +08:00
Hao Jia 01c9dbc1fd Merge remote-tracking branch 'origin/main' into gpt-4o
# Conflicts:
#	public/apple-touch-icon.png
2024-05-16 14:43:10 +08:00
Dean-YZG 0aa807df19 feat: remove empty memoryPrompt in ChatMessages 2024-05-16 14:41:18 +08:00
fred-bf 48d44ece58
Merge branch 'main' into chore-fix 2024-05-16 14:13:28 +08:00
Leo Li 8688842984
gpt-4o as vision model
https://platform.openai.com/docs/guides/vision
2024-05-15 17:53:27 -04:00
fred-bf 0eccb547b5
Merge branch 'main' into feat/gemini-flash 2024-05-15 15:44:35 +08:00
Fred 4789a7f6a9
feat: add gemini flash into vision model list 2024-05-15 15:42:06 +08:00
fred-bf 0bf758afd4
Merge pull request #4702 from ChatGPTNextWeb/feat/gemini-flash
feat: support gemini flash
2024-05-15 15:30:23 +08:00
Fred 6612550c06
feat: support gemini flash 2024-05-15 15:29:38 +08:00
fred-bf 5df8b1d183
fix: revert gpt-4-turbo-preview detection 2024-05-14 14:32:34 +08:00
Leo Li ef5f910f19
support gpt-4o 2024-05-13 17:28:13 -04:00
Dean-YZG fffbee80e8 Merge remote-tracking branch 'origin/main' into chore-fix 2024-05-13 17:58:28 +08:00
Dean-YZG 9d7ce207b6 feat: support env var DEFAULT_INPUT_TEMPLATE to custom default template for preprocessing user inputs 2024-05-13 17:11:35 +08:00
Dean-YZG 2d1f0c9f57 feat: support env var DEFAULT_INPUT_TEMPLATE to custom default template for preprocessing user inputs 2024-05-13 17:11:11 +08:00
Dmitry Sandalov d3131d2f55
Fix typo for "OpenAI Endpoint" in the en locale 2024-05-13 10:39:49 +02:00
Dean-YZG c10447df79 feat: 1)upload image with type 'heic' 2)change the empty message to ';' for models 3) 2024-05-13 16:24:15 +08:00
DeanYao 212ae76d76
Merge pull request #4610 from rooben-me/fix-sync
Fix Sync Issue with Upstash
2024-05-13 11:28:29 +08:00
Dean-YZG 864529cbf6 feat: googleApiKey & anthropicApiKey support setting multi-key 2024-05-06 21:14:53 +08:00
Dean-YZG a1493bfb4e feat: bugfix 2024-05-06 20:46:53 +08:00
butterfly b3e856df1d feat: fix 1)the property named 'role' of the first message must be 'user' 2)if default summarize model 'gpt-3.5-turbo' is blocked, use currentModel instead 3)if apiurl&apikey set by location, useCustomConfig would be opened 2024-05-06 19:26:39 +08:00
ruban 8ef2617eec
Removed spaces 2024-05-02 23:24:41 -07:00
ruban 1da7d81122
Fix cloud data sync issue with Upstash (#4563) 2024-05-02 23:22:32 -07:00
ruban a103582346
fix 2024-05-02 23:10:10 -07:00
ruban 7b61d05e88
new fix 2024-05-02 23:08:17 -07:00
ruban 6fc7c50f19
this 2024-05-02 22:55:41 -07:00
ruban 9d728ec3c5
this is ti 2024-05-02 22:50:35 -07:00
ruban 9cd3358e4e
this is the fix 2024-05-02 22:40:52 -07:00
ruban 4cd94370e8 fix i think 2024-05-03 05:25:11 +00:00
DeanYao 506c17a093
Merge pull request #4564 from MrrDrr/gpt4v_remove_max_tokens
remove max_tokens from the official version of gpt4-turbo
2024-04-25 13:01:21 +08:00
DeanYao 69642fba52
Merge pull request #4557 from RoyRao2333/dev/no-fucos-outline
chore: No outline when element is in `:focus-visible` state
2024-04-25 12:58:19 +08:00
DeanYao 7d647c981f
Merge pull request #4535 from RubuJam/main
Refer to OpenAI documentation to delete some models.
2024-04-25 11:44:01 +08:00
l.tingting dd4648ed9a remove max_tokens from the official version of gpt4-turbo 2024-04-24 22:59:14 +08:00
Roy 1cd0beb231 chore: No outline when element is in `:focus-visible` state 2024-04-23 11:48:54 +08:00
Wayland Zhan c96e4b7966 feat: Support a way to define default model by adding DEFAULT_MODEL env. 2024-04-19 06:57:15 +00:00
黑云白土 b7aab3c102
Update google.ts 2024-04-17 17:16:31 +08:00
黑云白土 fcb1a657e3
Update constant.ts 2024-04-17 16:24:11 +08:00
DeanYao 9b2cb1e1c3
Merge pull request #4525 from ChatGPTNextWeb/chore-fix
Chore fix
2024-04-16 14:59:22 +08:00
butterfly fb8b8d28da feat: (1) fix issues/4335 and issues/4518 2024-04-16 14:50:48 +08:00
Algorithm5838 9564b261d5 Update constant.ts 2024-04-15 13:14:14 +03:00
DeanYao 1e2a662fa6
Merge pull request #4412 from RubuJam/main
Gemini will generate the request address based on the selected model name and supports Gemini 1.5 Pro (gemini-1.5-pro-latest).
2024-04-15 11:44:53 +08:00
DeanYao 51f7daaeaf
Merge pull request #4514 from SukkaW/fix-ls-performance
perf: avoid read localStorage on every render
2024-04-15 10:11:03 +08:00
DeanYao f742a7ec4e
Merge pull request #4510 from MrrDrr/add_timezone_in_system_prompts
add timezone in system prompts
2024-04-15 10:09:53 +08:00
DeanYao e2c0d2a07b
Merge pull request #4509 from MrrDrr/add_knowledge_cutoff
add knowledge cutoff date for gpt-4-turbo-2024-04-09
2024-04-15 10:02:41 +08:00
DeanYao d112dc41b2
Merge pull request #4500 from PeterDaveHello/locale-tw-cht
Improve tw Traditional Chinese locale
2024-04-15 09:47:36 +08:00
SukkaW 2322851ac4 perf: avoid read localStorage on every render 2024-04-14 17:38:54 +08:00
l.tingting aa084ea09a add timezone in system prompts 2024-04-12 23:07:29 +08:00
l.tingting 6520f9b7eb add knowledge cutoff date for gpt-4-turbo-2024-04-09 2024-04-12 22:44:26 +08:00
butterfly fd8d0a1746 feat: fix the logtics of client joining webdav url 2024-04-12 14:20:15 +08:00
DeanYao af3ebacee6
Merge pull request #4507 from ChatGPTNextWeb/chore-fix
feat: fix codes of joining webdav url in client & webdav proxy
2024-04-12 14:07:24 +08:00
butterfly 55d7014301 feat: fix the logtics of client joining webdav url 2024-04-12 14:02:05 +08:00
butterfly b72d7fbeda feat: fix webdav 逻辑2 2024-04-12 13:46:37 +08:00
butterfly ee15c14049 feat: fix webdav 逻辑 2024-04-12 13:40:37 +08:00
Peter Dave Hello 1756bdd033 Improve tw Traditional Chinese locale 2024-04-12 00:18:15 +08:00
黑云白土 0cffaf8dc5
Merge branch 'main' into main 2024-04-11 10:30:05 +08:00
黑云白土 5dc5bfb797
Merge branch 'main' into main 2024-04-11 01:24:34 +08:00
Leo Li f101ee3c4f
support new vision models 2024-04-10 05:33:54 -04:00
Leo Li 6319f41b2c
add new turbo 2024-04-10 05:18:39 -04:00
DeanYao 67acc38a1f
Merge pull request #4480 from ChatGPTNextWeb/chore-fix
feat: Solve the problem of using openai interface protocol for user-d…
2024-04-10 09:26:21 +08:00
DeanYao dd1d8509f0
Merge pull request #4476 from dlb-data/dlb-data-patch-1
Update layout.tsx
2024-04-10 09:13:22 +08:00
butterfly 79f342439a feat: Solve the problem of using openai interface protocol for user-defined claude model & add some famous webdav endpoints 2024-04-09 20:49:51 +08:00
butterfly df3313971d feat: Optimize code 2024-04-09 18:24:22 +08:00
butterfly b175132854 feat: Optimize var names 2024-04-09 18:23:52 +08:00
butterfly 8b191bd2f7 feat: white webdav server domain 2024-04-09 18:05:56 +08:00
dlb-data 598468c2b7
Update layout.tsx 2024-04-09 16:34:21 +08:00
dlb-data 84681d3878
Update layout.tsx 2024-04-09 16:24:03 +08:00
butterfly d508127452 feat: fix system prompt 2024-04-09 10:45:09 +08:00
butterfly 6cb296f952 feat: remove debug code 2024-04-09 09:12:18 +08:00
butterfly 02b0e79ba3 feat: modify some propmt in DEFAULT_INPUT_TEMPLATE about expressing latex 2024-04-08 19:27:22 +08:00
butterfly 9b982b408d feat: fix no max_tokens in payload when calling openai vision model 2024-04-08 18:29:08 +08:00
butterfly 264da6798c feat: remove duplicate Input Template 2024-04-08 18:06:17 +08:00
butterfly 63f9063255 feat: call claude api not in credential 'include' mode 2024-04-08 15:33:27 +08:00
butterfly 6dad353e1c feat: call claude api not in credential 'include' mode 2024-04-08 15:33:02 +08:00
butterfly 5446d8d4a2 feat: fix illegal exports in app/api/anthropic/[...path]/route.ts 2024-04-08 13:59:55 +08:00
butterfly ef7617d545 feat: configs about app client 2024-04-08 13:41:02 +08:00
butterfly 0fbb560e90 feat: delete returned models in modals function of ClaudeApi instance 2024-04-07 20:05:19 +08:00
butterfly 86b5c55855 feat: roles must alternate between user and assistant in claude, so add a fake assistant message between two user messages 2024-04-07 18:02:31 +08:00
butterfly 768decde93 feat: parse response message 2024-04-07 15:20:27 +08:00
butterfly 3cb4315193 feat: clean codes 2024-04-07 11:50:25 +08:00
butterfly 69b079c86e feat: dev done 2024-04-07 11:32:57 +08:00
butterfly 15e595837b feat: settings command dev done 2024-04-02 14:21:49 +08:00
黑云白土 4d0c77b973
更新 constant.ts 2024-03-28 21:42:45 +08:00
黑云白土 f8b180ac44
Update google.ts 2024-03-28 15:52:38 +08:00
黑云白土 cd30368da9
Update constant.ts 2024-03-28 15:51:06 +08:00
黑云白土 27ed57a648
Update utils.ts 2024-03-28 15:49:49 +08:00
DeanYao e38b527ac2
Merge pull request #3205 from H0llyW00dzZ/summarizelogic
Refactor Summarize Logic
2024-03-28 15:19:32 +08:00
DeanYao 6b3daec23f
Merge pull request #3314 from H0llyW00dzZ/text-moderation-azure
Feat ChatGPT LLM Api [Console Log] [Text Moderation] [Azure]
2024-03-28 13:38:56 +08:00
DeanYao e056a1d46d
Merge pull request #3405 from Yuliang-Lee/fix/MessageSelectorWarning
fix: MessageSelectorWarning
2024-03-28 11:38:45 +08:00
DeanYao 8ef77f50c3
Merge branch 'main' into serverrside 2024-03-28 11:20:52 +08:00
DeanYao c93b36fe79
Merge pull request #3508 from reece00/Mask-language
The language filtering option of the mask is stored
2024-03-27 19:58:30 +08:00
DeanYao 0de9242a26
Merge pull request #3529 from erich2s/chat-item-selected-border
fix(chat-item): selected ChatItem showing border in other pages
2024-03-27 19:00:16 +08:00
DeanYao afaa529ba6
Merge pull request #3870 from Dup4/fix-webdav-check
fix: webdav check httpcode list
2024-03-27 14:04:15 +08:00
DeanYao a4e4286e04
Merge pull request #4186 from MrrDrr/formula_rendering
support \(...\) and \[...\] style math formula
2024-03-25 19:55:57 +08:00
fred-bf f1b4c083a4
Merge pull request #4379 from EasonQwQ/main
Fix: Handle empty server response in API call
2024-03-24 14:18:14 +08:00
fred-bf e8d76a513d
patch: disable webdav redirect 2024-03-24 14:15:04 +08:00
kidv 29e03b88c7 Fix: Handle empty server response in API call 2024-03-24 04:07:25 +08:00
Kivi1998 5bf402710f
Merge branch 'main' into main 2024-03-21 11:56:09 +08:00
H0llyW00dzZ c0c54e5709
Fix Webdav Syncing Issues
- [+] feat(route.ts): add endpoint validation and improve error handling
- [+] refactor(route.ts): use targetPath for request validation and error messages
- [+] fix(route.ts): correct targetUrl formation
2024-03-20 01:40:41 +07:00
fred-bf 3ba984d09e
Merge pull request #4306 from H0llyW00dzZ/simplify-cherry-pick
[Cherry Pick] Improve [Utils] Check Vision Model
2024-03-19 17:45:57 +08:00
Raax 028957fcdc Fix "Enter" bug
Fix Chinese input method "Enter" on Safari
2024-03-16 21:55:16 +08:00