lloydzhou
37e2517dac
fix: 1. anthropic client using common getHeaders; 2. always using `Authorization` header send access code
2024-07-01 10:24:33 +00:00
lloydzhou
d65ddead11
fix: anthropic client using common getHeaders
2024-07-01 09:41:01 +00:00
licoy
34034be0e3
hide new chat button on sd page
2024-06-27 16:13:51 +08:00
licoy
d21481173e
feat: add SD page switching
2024-06-27 16:06:15 +08:00
licoy
fa6ebadc7b
feat: add plugin entry selection
2024-06-27 15:35:16 +08:00
licoy
a51fb24f36
fix ts error
2024-06-27 15:13:45 +08:00
Fred
9fb8fbcc65
fix: validate the url to avoid SSRF
2024-06-24 14:31:50 +08:00
hengstchon
4640060891
feat: support model: claude-3-5-sonnet-20240620
2024-06-21 12:28:17 +02:00
Imamuzzaki Abu Salam
6efe4fb734
chore(app/layout.tsx): fix deprecated viewport nextjs 14
2024-06-16 10:17:58 +07:00
YeungYeah
74986803db
feat: add google api safety setting
2024-06-15 12:09:58 +08:00
YeungYeah
24bf7950d8
chore: set the google safety setting to lowest
2024-06-12 21:59:28 +08:00
junxian li-ssslab win10
1d8fd480ca
Add new Teracloud domain
...
- Added 'bora.teracloud.jp' to the list of supported domains.
2024-06-07 03:28:00 +08:00
DeanYao
d89a12aa05
Revert "Chat gpt"
2024-05-20 19:02:46 +08:00
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
H0llyW00dzZ
a4c54cae60
Improve [Utils] Check Vision Model
...
- [+] refactor(utils.ts): improve isVisionModel function to use array.some instead of model.includes
2024-03-15 09:38:42 +07:00
Hao Jia
754303e7c7
v0.0.0
2024-03-14 16:36:32 +08:00
Fred
066ca9e552
fix: auto migrate proxy config
2024-03-14 03:03:46 +08:00
Fred
99aa064319
fix: fix webdav sync issue
2024-03-14 01:58:25 +08:00
Fred
6aaf83f3c2
fix: fix upstash sync issue
2024-03-14 01:56:36 +08:00
Fred
133ce39a13
chore: update cors default path
2024-03-14 01:33:41 +08:00
Fred
8645214654
fix: change matching pattern
2024-03-14 01:26:13 +08:00
Fred
eebc334e02
fix: remove corsFetch
2024-03-14 00:57:54 +08:00
Fred
038fa3b301
fix: add webdav request filter
2024-03-14 00:33:26 +08:00
Fred
9a8497299d
fix: adjust upstash api
2024-03-13 23:58:28 +08:00
fred-bf
a15c4d9c20
Merge pull request #4234 from fengzai6/main
...
Fix EmojiPicker mobile width adaptation and update avatar clicking behavior
2024-03-11 13:59:09 +08:00
fred-bf
2bf6111bf5
Merge branch 'main' into fix-export-garbled
2024-03-07 17:07:08 +08:00
fengzai6
ad10a11903
Add z-index to avatar
2024-03-07 15:51:58 +08:00
fengzai6
c22153a4eb
Revert "fix: No history message attached when for gemini-pro-vision"
...
This reverts commit c197962851
.
2024-03-07 15:46:13 +08:00
fengzai6
5348d57057
Fix EmojiPicker mobile width adaptation and update avatar clicking behavior
2024-03-07 15:36:19 +08:00
fengzai6
052524dabd
Merge remote-tracking branch 'upstream/main'
2024-03-07 15:32:09 +08:00
fred-bf
e71094d4a8
chore: update GTM_ID definition, close #4217
2024-03-05 17:36:52 +08:00
aliceric27
e1066434d0
fix some text
2024-03-03 00:23:00 +08:00
aliceric27
86ae4b2a75
slightly polishes the tw text.
2024-03-02 23:58:23 +08:00
l.tingting
524c9beee4
support \(...\) and \[...\] style math formula
2024-03-02 11:08:34 +08:00
fred-bf
99fb9dcf11
Merge pull request #4164 from KSnow616/main
...
feat: Pasting images into the textbox
2024-02-29 22:14:02 +08:00
fred-bf
1294817103
Merge pull request #4089 from H0llyW00dzZ/cherry-pick
...
[Cherry Pick] Fix [Utils] Regex trimTopic
2024-02-29 16:31:30 +08:00
Snow Kawashiro
9775660da7
Update chat.tsx
2024-02-28 20:45:42 +08:00
Snow Kawashiro
e7051353eb
vision_model_only
2024-02-28 20:38:00 +08:00
Snow Kawashiro
bd19e97cf8
add_image_pasting
2024-02-28 20:05:13 +08:00
Fred
43e5dc2292
fix: fix the method to detect vision model
2024-02-28 11:33:43 +08:00
fred-bf
08fa22749a
fix: add max_tokens when using vision model ( #4157 )
2024-02-27 17:28:01 +08:00
fengzai6
c197962851
fix: No history message attached when for gemini-pro-vision
2024-02-27 15:02:58 +08:00
fred-bf
44a51273be
Merge pull request #4149 from fred-bf/feat/auto-detach-scrolling
...
feat: auto detach scrolling
2024-02-27 11:56:37 +08:00
Fred
e3b3ae97bc
chore: clear scroll info
2024-02-27 11:49:44 +08:00
Fred
410a22dc63
feat: auto detach scrolling
2024-02-27 11:43:40 +08:00
Algorithm5838
069766d581
Correct cutoff dates ( #4118 )
2024-02-27 10:28:54 +08:00
DonaldBear
f22e36e52f
feat(tw.ts): added new translations ( #4142 )
...
* feat(tw.ts): added new translations
I have translated previously untranslated text in response to the latest update.
* feat(tw.ts): added new translations
I have translated previously untranslated text in response to the latest update.
2024-02-27 00:16:56 +08:00
fred-bf
ff166f7b4c
chore: adjust for ollama support ( #4129 )
2024-02-26 17:18:46 +08:00
H0llyW00dzZ
22baebaf8c
[Cherry Pick] Fix [Utils] Regex trimTopic
...
- [+] fix(utils.ts): update regular expressions in trimTopic function to handle asterisks
2024-02-21 04:19:12 +07:00
Qiying Wang
fd67f980a5
Fix temperature range ( #4083 )
2024-02-20 18:05:17 +08:00
TheRam_
e2da3406d2
Add vision support ( #4076 )
2024-02-20 18:04:32 +08:00
H0llyW00dzZ
1d6ee64e1d
[Cherry Pick] Fix [UI/UX] [Front End] Settings Page ( #4032 )
...
* Fix [UI/UX] [Locales] Correct Spelling
- [+] fix(locales): correct spelling and improve wording in cn.ts and en.ts locale files
* Fix [UI/UX] [Front End] Settings Page
- [+] fix(settings.tsx): correct typo in ApiVerion to ApiVersion
- [+] refactor(settings.tsx): switch Azure.ApiKey to Google.ApiKey in ListItem title and subTitle
* Fix [UI/UX] [Locales] [SK] Correct Typo
- [+] fix(sk.ts): correct typo in ApiVersion key in Slovak locale file
2024-02-12 20:36:52 +08:00
fred-bf
d74f636558
Fix/gemini app endpoint ( #4017 )
...
* fix: support custom api endpoint
* fix: attach api key to google gemini
2024-02-07 13:46:52 +08:00
fred-bf
b8f0822214
fix: support custom api endpoint ( #4016 )
2024-02-07 13:40:30 +08:00
fred-bf
0869455612
feat: bump version ( #4015 )
...
* feat: bump version
* feat: bump version
2024-02-07 13:38:02 +08:00
fred-bf
bca74241e6
fix: fix gemini issue when using app ( #4013 )
...
* chore: update path
* fix: fix google auth logic
* fix: not using header authorization for google api
* chore: revert to allow stream
2024-02-07 13:17:11 +08:00
fred-bf
9d5801fb5f
fix: avoiding not operation for custom models ( #4010 )
2024-02-07 10:31:49 +08:00
H0llyW00dzZ
bb26c03141
Feat [UI/UX] [Constants] [Models] gemini-pro KnowledgeCutOffDate ( #3997 )
...
- [+] feat(constant.ts): add 'gemini-pro' to KnowledgeCutOffDate constant
2024-02-05 14:44:46 +08:00
H0llyW00dzZ
a5517a1a51
Improve Default System Template ( #3996 )
...
* Feat [UI/UX] [Constant] [DEFAULT System Template] replace hardcoded
- [+] feat(constant.ts): replace hardcoded OpenAI with dynamic ServiceProvider variable in DEFAULT_SYSTEM_TEMPLATE
* Improve [UI/UX] [Chat] "fillTemplateWith"
- [+] feat(chat.ts): add DEFAULT_MODELS to modelConfig
- [+] fix(chat.ts): replace replaceAll with regex in output string replacement
- [+] refactor(chat.ts): use const instead of let for cutoff variable
2024-02-05 13:35:51 +08:00
H0llyW00dzZ
4511aa4d21
Fix [UI/UX] [Emoji] Update CDN ( #3966 )
...
- [+] fix(emoji.tsx): update CDN url from 'cdn.jsdelivr.net' to 'fastly.jsdelivr.net'
2024-02-03 01:24:37 +08:00
Duplicate4
b25a0545f5
fix: typo ( #3871 )
...
Signed-off-by: Dup4 <lyuzhi.pan@gmail.com>
2024-02-03 01:20:10 +08:00
H0llyW00dzZ
1a97bd55c7
Feat [OpenAI] [Models] gpt-3.5-turbo-0125 ( #3971 )
...
- [+] feat(constant.ts): add new model 'gpt-3.5-turbo-0125' to DEFAULT_MODELS array
2024-02-03 01:19:25 +08:00
greenjerry
bf711f2ad7
修复导出json和markdown时中文及其他utf8字符乱码问题
2024-02-02 13:58:06 +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
Takanezawa, Kosuke
eacc911cdc
Add Japanese translations for ChatGPT messages ( #3936 )
2024-01-29 10:38:25 +08:00
H0llyW00dzZ
91a5f4af9a
Feat Models [GPT-4-turbo] ( #3932 )
...
[+] feat(constant.ts): add new models to DEFAULT_MODELS array
2024-01-27 15:58:35 +08:00
NieXi
f6cdda9029
update google api region ( #3934 )
...
Co-authored-by: GH Action - Upstream Sync <action@github.com>
2024-01-27 15:55:44 +08:00
Leo Li
981a3629b6
Add gpt-4-0125-preview ( #3924 )
2024-01-26 15:00:02 +08:00
fred-bf
f619e9df24
chore: change default submit key
2024-01-25 15:22:45 +08:00
fred-bf
04855de495
Merge pull request #3789 from wyxogo/upstream
...
Fix: Routes `/api/cors/[...path]` was not configured to run with the …
2024-01-25 15:07:40 +08:00
Fred Liang
31d9d2efcd
feat: support setting up GTM
2024-01-22 15:12:21 +08:00
Dup4
86f42d56f2
fix: webdav check httpcode list
...
Signed-off-by: Dup4 <lyuzhi.pan@gmail.com>
2024-01-18 09:11:13 +08:00
Yasin
5a7b9abe33
Fix: Routes `/api/cors/[...path]` was not configured to run with the Edge Runtime
2024-01-08 18:43:31 +08:00
Fred Liang
cc86923fd5
fix: import typing error
2024-01-05 21:19:51 +08:00
Fred Liang
916d764477
fix: import language issue
2024-01-05 21:17:26 +08:00
levidius
4a21a8fdae
Added Slovak language support
...
Slovak language was added app/locales/sk.ts and also the language was added to app/locales/index.ts
2024-01-05 21:05:17 +08:00
Fred Liang
9eaf492d5b
chore: low the google safety setting to avoid unexpected blocking
2023-12-31 19:49:22 +08:00
Fred Liang
a80502f7db
fix: fix gemini pro streaming api duplicated issue ( #3721 )
...
* fix: streaming duplicated issue
* chore: remove debug logs
* chore: add types defination
2023-12-31 19:08:16 +08:00
Fred Liang
eade013138
fix: update google url description ( #3719 )
...
* feat: update new logo & cover image
* fix: update google url description
2023-12-31 18:02:04 +08:00
Fred Liang
5cf58d9446
feat: support streaming for Gemini Pro ( #3688 )
...
* feat: support streaming for Gemini Pro
* feat: display texts smoothly
* chore: remove comments
2023-12-29 03:42:45 +08:00
reece00
3ba598633c
Non -GPT model disable system prompt ( #3684 )
2023-12-28 23:52:45 +08:00
Fred Liang
406530ca69
feat: support vercel speed insight ( #3686 )
2023-12-28 23:10:19 +08:00
Yifei Zhang
350ddd2af1
Merge pull request #3215 from akira-cn/main
...
fix: remove the content-encoding header
2023-12-27 01:26:48 +08:00
Yifei Zhang
c03abdac42
Merge pull request #3570 from Rocky0102/main
2023-12-27 01:24:44 +08:00
H0llyW00dzZ
a91ac91977
Fix [UI/UX] [Emoji] emoji URL ( #3647 )
2023-12-26 03:44:40 +08:00
Fred Liang
422d70d928
chore: update auth value logic ( #3630 )
2023-12-25 10:25:43 +08:00
Fred Liang
19137b79bc
fix: return bearer header when using openai
2023-12-25 09:57:40 +08:00
Fred Liang
f5ed1604aa
fix: fix removing bearer header
2023-12-25 05:24:20 +08:00
Fred Liang
5c638251f8
fix: fix using different model
2023-12-25 05:12:21 +08:00
Fred Liang
199f29e63c
chore: auto concat messages
2023-12-25 04:33:47 +08:00
Fred Liang
cad461b121
chore: remove console log
2023-12-25 04:09:38 +08:00
Fred Liang
5af68ac545
fix: fix issue https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/issues/3616
2023-12-25 04:07:35 +08:00
Fred Liang
c0ce70ccc7
Merge pull request #3617 from H0llyW00dzZ/fixfixbug
...
Fix [Bug] Issue ChatGPTNextWeb#3615
2023-12-25 03:47:16 +08:00
Fred Liang
753c518d33
chore: update how to identify google model
2023-12-25 03:46:35 +08:00
H0llyW00dzZ
0c116251b1
Revert "Fix [TypesScript] [LLM Api] Chaining Model"
...
This reverts commit 8ca525dc7a
.
Reason: It's suddenly stopped lmao
2023-12-25 01:45:24 +07:00
H0llyW00dzZ
e9def2cdc5
Refactor [Model] [LLM Api] Chaining Model
...
- [+] refactor(model.ts): change forEach loop to arrow function for readability and consistency
- [+] fix(model.ts): mark 'provider' property as optional in modelTable type
- [+] fix(model.ts): use optional chaining when assigning provider property in modelTable
2023-12-25 01:12:44 +07:00
H0llyW00dzZ
8ca525dc7a
Fix [TypesScript] [LLM Api] Chaining Model
...
- [+] fix(api.ts): make provider property optional in LLMModel interface
2023-12-25 01:12:44 +07:00
H0llyW00dzZ
281fe6927a
Feat [Server Side] Google Api Configuration
...
- [+] feat(server.ts): add support for Google API configuration variables
2023-12-25 00:37:49 +07:00
H0llyW00dzZ
35471a41c8
Fix & Feat [Auth] Api Key Variable
...
- [+] fix(auth.ts): fix variable name from serverApiKey to systemApiKey
- [+] feat(auth.ts): add support for Google API key in addition to Azure API key
2023-12-25 00:37:48 +07:00
Fred Liang
1e05eb1d60
chore: update docs for gemini pro
2023-12-24 17:54:33 +08:00
Fred Liang
aea794e522
chore: remove openai log from google api handler
2023-12-24 17:37:07 +08:00
Fred Liang
7c3dfb7bae
feat: support custom gemini pro params
2023-12-24 17:24:04 +08:00
Fred Liang
75057f9a91
chroe: support error reason for gemini pro
2023-12-24 04:32:25 +08:00
Fred Liang
7026bd926a
chroe: update prompts
2023-12-24 04:24:38 +08:00
Fred Liang
ae19a0dc5f
chroe: update model name
2023-12-24 04:22:12 +08:00
Fred Liang
7d9a2132cb
fix: fix server token fetch policy
2023-12-24 03:57:30 +08:00
Fred Liang
20f2f61349
feat: support set api key from client side
2023-12-24 03:44:13 +08:00
Fred Liang
4169431f2c
fix: fix add api auth
2023-12-24 03:05:23 +08:00
Fred Liang
45798f993d
fix: fix type errors
2023-12-24 02:39:13 +08:00
Fred Liang
ae0d68c27e
fix: fix llm models field
2023-12-24 02:39:13 +08:00
Fred Liang
778e88cb56
chore: resolve conflict
2023-12-24 02:15:30 +08:00
Fred Liang
3ef0621eb0
refactor: update product name
2023-12-23 16:48:16 +08:00
Rocky
24d7dc9bf9
Update api.ts to set proper header "Accept"
...
So it can work fine for some GPT forward service.
2023-12-18 20:34:37 +08:00
Yifei Zhang
bcb520ed3b
Update emoji.tsx
2023-12-15 15:18:02 +08:00
Eric Huang
943a2707d2
fix(chat-item): selected chat-item showing border in other pages
2023-12-15 09:37:37 +08:00
reece00
1442337e3c
The language filtering option of the mask is stored
2023-12-12 02:22:22 +08:00
H0llyW00dzZ
54df355014
Fix Trim Topic in Indonesia Language
...
- [+] fix(utils.ts): fix trimTopic function to remove double quotes from the start and end of the string, and remove specified punctuation from the end of the string
2023-12-05 07:26:11 +07:00
H0llyW00dzZ
8dc8682078
Fix Api Common [Server Side]
...
- [+] fix(common.ts): improve handling of OpenAI-Organization header
- Check if serverConfig.openaiOrgId is defined and not an empty string
- Log the value of openaiOrganizationHeader if present, otherwise log that the header is not present
- Conditionally delete the OpenAI-Organization header from the response if [Org ID] is undefined or empty (not setup in ENV)
2023-12-04 13:33:23 +07:00
H0llyW00dzZ
36e9c6ac4d
Refactor Api Common [Server Side] [Console Log]
...
- [+] refactor(common.ts): remove unnecessary console.log for [Org ID] in requestOpenai function
- [+] refactor(common.ts): conditionally delete OpenAI-Organization header from response if [Org ID] is not set up in ENV
2023-12-01 19:49:12 +07:00
frankylli
10ea9bf1e3
fix: MessageSelectorWarning
2023-11-29 16:25:15 +08:00
Yifei Zhang
2c12be62c4
Merge pull request #3383 from H0llyW00dzZ/auth
2023-11-27 15:51:27 +08:00
Yifei Zhang
03756e364a
Merge pull request #3372 from H0llyW00dzZ/fixserverside
2023-11-27 15:47:24 +08:00
Yifei Zhang
ce1715c79e
Merge pull request #3369 from H0llyW00dzZ/chatz
2023-11-27 15:47:01 +08:00
Yifei Zhang
a62ab3c649
Merge pull request #3354 from AnYiEE/fix-type
2023-11-27 15:45:42 +08:00
H0llyW00dzZ
dda40e29f4
Fix & Refactor UI/UX Page [Settings]
...
- [+] fix(settings.tsx): fix conditional rendering of ListItem based on clientConfig.isApp
- [+] refactor(settings.tsx): improve readability of conditional rendering code
2023-11-27 08:07:53 +07:00
H0llyW00dzZ
7df868e22a
Revert "Fix & Refactor UI/UX Page [Auth]"
...
This reverts commit d76e744eab
.
Reason: Move to commits bf5e7aaa48
2023-11-27 07:12:57 +07:00
H0llyW00dzZ
bf5e7aaa48
Feat UI/UX Page [Settings]
...
- [+] feat(settings.tsx): set useCustomConfig to true if clientConfig.isApp is truthy
2023-11-27 07:03:41 +07:00
H0llyW00dzZ
d76e744eab
Fix & Refactor UI/UX Page [Auth]
...
- [+] fix(auth.tsx): fix condition to set custom endpoint to true if it's app
- [+] refactor(auth.tsx): update accessStore to set useCustomConfig to true
2023-11-27 05:44:26 +07:00
H0llyW00dzZ
f9d916925e
Fixup Api Common [Server Side] [Console Log]
...
- [+] fix(common.ts): fix condition to check if serverConfig.openaiOrgId is not undefined
2023-11-25 10:23:16 +07:00
H0llyW00dzZ
f9258878db
Fix Api Common [Server Side] [Console Log]
...
- [+] fix(common.ts): fix console.log statement for [Org ID] to handle undefined value
2023-11-25 10:10:06 +07:00
H0llyW00dzZ
ef9e86b50d
Fix UI/UX Page Chats [Memory Prompt] [Stored Local Storage]
...
- [+] fix(chat.ts): update the memory prompt in onFinish callback
- [+] feat(chat.ts): update the current session with lastSummarizeIndex and memoryPrompt
2023-11-25 05:03:34 +07:00
durian
261a8fd83b
fix(CUSTOM_MODELS):#3349 Dependency chatStore otherwise the session and view will not updated
2023-11-23 15:37:57 +08:00
安忆
6527074cde
fix(locales): type error in pt.ts
2023-11-23 11:02:20 +08:00
H0llyW00dzZ
fe0f078353
Feat ChatGPT LLM Api [Console Log] [Text Moderation] [Azure]
...
[+] fix(openai.ts): fix parsing error in ChatGPTApi's message handler
[+] feat(openai.ts): add logging for flagged categories in text moderation
2023-11-19 19:49:52 +07:00
Yidadaa
f2485931d9
feat: better animation speed
2023-11-19 19:15:11 +08:00
Yifei Zhang
4f8a0b7711
Merge pull request #3308 from yuri-filipe/main
2023-11-19 18:45:31 +08:00
Yifei Zhang
2dde55050e
Merge pull request #3311 from Yidadaa/bugfix-1119
2023-11-19 18:44:14 +08:00
Yidadaa
6aade62ce2
feat: close #3300 support multiple api keys
2023-11-19 18:42:30 +08:00
Yidadaa
45b88ebb2a
feat: close #3304 use `=` instead of `:` to map model name in CUSTOM_MODELS
2023-11-19 18:34:39 +08:00
Yidadaa
dc7159a450
feat: close #3301 enable or diable default models with -all / +all
2023-11-19 18:32:54 +08:00
Yidadaa
536ace8e10
feat: animate streaming response to make more smooth
2023-11-19 18:24:51 +08:00
Yuri Filipe
6f135a0cce
Translation of the application into Brazilian Portuguese
2023-11-18 15:12:15 -03:00
Eric-2369
74eb42c111
config: exclude hkg1 from the deployment regions of the edge function
2023-11-16 11:33:10 +08:00
Yidadaa
9876a1aeca
fix : #3275 refuse on server side if hide user api key
2023-11-16 00:53:11 +08:00
H0llyW00dzZ
f1772f4625
Fix UI/UX Page [Settings]
...
[+] fix(settings.tsx): fix condition to show balance query in settings component
[+] fix(settings.tsx): add condition to hide balance query for app clients
2023-11-14 15:04:57 +07:00
Yifei Zhang
d033168d80
fix : #3241 should not ensure openai url non-empty
2023-11-13 10:53:30 +08:00
Yifei Zhang
fdca9e59de
Merge pull request #3233 from nanaya-tachibana/nanaya/model-selection
2023-11-13 10:44:03 +08:00
Yifei Zhang
549a2fd206
Merge pull request #3237 from Yidadaa/latex
2023-11-12 19:47:26 +08:00
Yidadaa
a0cd939bfd
fix : #2841 dollar sign conflict with latex math
2023-11-12 19:45:58 +08:00
Yifei Zhang
4f52679ec6
Merge pull request #3236 from Yidadaa/latex
2023-11-12 19:35:22 +08:00
Yidadaa
b52e237044
fix : #3189 should correct math eq in exporter
2023-11-12 19:33:19 +08:00