Commit Graph

1163 Commits

Author SHA1 Message Date
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
Hk-Gosuto
d85b95a980 chore: close console 2023-12-31 14:33:49 +08:00
Hk-Gosuto
cb096e5772 feat: rewrite WolframAlphaTool 2023-12-31 14:32:47 +08:00
Hk-Gosuto
98b5ace66e fix: gemini authentication error 2023-12-30 11:37:39 +08:00
Hk-Gosuto
2a9b36f626 feat: add wolframAlpha plugin 2023-12-29 19:01:00 +08:00
Hk-Gosuto
4551abdce8 feat: dall-e plugin upgrade 2023-12-29 18:35:14 +08:00
Hk-Gosuto
568ffede5c Merge branch 'feature-openai-tool-call' 2023-12-29 18:23:39 +08:00
Hk-Gosuto
cccd518008 fix: tool call returnDirect 2023-12-29 18:19:48 +08:00
Hk-Gosuto
6c71c83af7 fix: gemini 2023-12-29 17:59:49 +08:00
Hk-Gosuto
78bc819742 fix: fix gemini stream output 2023-12-29 14:10:51 +08:00
Fred Liang
9e86aa0901 feat: support streaming for Gemini Pro (#3688)
* feat: support streaming for Gemini Pro

* feat: display texts smoothly

* chore: remove comments
2023-12-29 13:53:26 +08:00
reece00
9da32a4785 Non -GPT model disable system prompt (#3684) 2023-12-29 13:52:52 +08:00
Fred Liang
4240771f66 feat: support vercel speed insight (#3686) 2023-12-29 13:52:51 +08:00
akira-cn
d700cbeb9a fix: remove the content-encoding header 2023-12-29 13:52:01 +08:00
akira-cn
3c92e378b5 fix: remove the content-encoding header 2023-12-29 13:52:01 +08:00
Rocky
7595918055 Update api.ts to set proper header "Accept"
So it can work fine for some GPT forward service.
2023-12-29 13:52:01 +08:00
Fred Liang
9bfd979b08 chore: update auth value logic (#3630) 2023-12-29 13:51:02 +08:00
Hk-Gosuto
8cdbc231ca feat: support tool call 2023-12-29 09:43:37 +08:00
pacmandoh
4ea2b66e1a perf: adapting style tightBorder 2023-12-29 09:15:20 +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
pacmandoh
5576481bb4 chore: update layout metadata themeColor 2023-12-27 19:18:26 +08:00
Hk-Gosuto
d050fe636f chore: remove log 2023-12-27 18:09:30 +08:00
Hk-Gosuto
3782c48008 feat: compatible old openai message 2023-12-27 13:06:20 +08:00
Hk-Gosuto
42ee0e0924 chore: modify arxiv api http to https 2023-12-27 12:18:56 +08:00
Hk-Gosuto
445e05c63f fix: fix bug 124 2023-12-27 12:17:39 +08:00
pacmandoh
af60f46ba2 perf: adjust css var --theme-color 2023-12-27 11:28:20 +08:00
pacmandoh
2a5f0edbf8 fix: home page delete.icon display 2023-12-27 11:28:20 +08:00
pacmandoh
2a81f1aea0 perf: adapting safari theme-color 2023-12-27 11:28:20 +08:00
pacmandoh
e20e7da3f4 fix: chat-input-image position on moblie device 2023-12-27 11:28:20 +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
Hk-Gosuto
1c845c5676 feat: support googleCustomSearchTool 2023-12-26 13:25:14 +08:00
Hk-Gosuto
e60c0f009b fix: upload image error 2023-12-26 12:42:37 +08:00
H0llyW00dzZ
a91ac91977
Fix [UI/UX] [Emoji] emoji URL (#3647) 2023-12-26 03:44:40 +08:00
Hk-Gosuto
24de1bb77a fix: support azure 2023-12-25 19:34:30 +08:00
Hk-Gosuto
fa2e046285 Merge remote 2023-12-25 12:40:09 +08:00
Hk-Gosuto
da29a94714 Merge remote-tracking branch 'upstream/main' 2023-12-25 12:39:24 +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
Hk-Gosuto
b466fabc0a chore: remove gemini model 2023-12-21 19:09:18 +08:00
Hk-Gosuto
f572df051d chore: code 2023-12-21 19:09:18 +08:00
Hk-Gosuto
ee08ab4070 feat: support gemini pro 2023-12-21 19:09:18 +08:00
Hk-Gosuto
4044891f85 feat: support custom dalle model 2023-12-21 12:39:18 +08:00
Hk-Gosuto
666e62d75a feat: support paste upload image 2023-12-20 13:31:54 +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
pacmandoh
4104abf5b8 chore(fix): update cdn emoji links 2023-12-18 13:57:21 +08:00
pacmandoh
07eb9b52b2 chore(update): emoji-datasource-apple version 15.0.1 2023-12-15 15:42:40 +08:00
Yifei Zhang
bcb520ed3b
Update emoji.tsx 2023-12-15 15:18:02 +08:00
Hk-Gosuto
789de39b2c feat: support dall-e image not storage 2023-12-14 20:03:53 +08:00
pacmandoh
22f43e5564 update: modify the plugins page close button to fit the overall style 2023-12-12 21:58:11 +08:00
pacmandoh
1f4ae70e0a Fix: plugins-info descriptions nowrap 2023-12-12 21:24:20 +08:00
Hk-Gosuto
1739b035da fix: vercel image preview 2023-12-11 17:26:44 +08:00
Hk-Gosuto
600a7d2197 feat: images using object service storage 2023-12-10 21:23:40 +08:00
Hk-Gosuto
b84da5e120 feat: support custom s3 service 2023-12-10 21:04:24 +08:00
Hk-Gosuto
eb7711f832 fix: visual model bug 2023-12-07 17:08:26 +08:00
Hk-Gosuto
5f5f182cfc chore: remove console log 2023-12-07 12:39:07 +08:00
Hk-Gosuto
148f763769 fix: font size error 2023-12-07 12:38:06 +08:00
Hk-Gosuto
02abc42682
Merge branch 'Yidadaa:main' into main 2023-12-06 20:11:54 +08:00
Hk-Gosuto
addfbd298a fix: fix bug 2023-12-06 14:03:52 +08:00
Hk-Gosuto
f9846e4813 chore: style change 2023-12-06 13:12:47 +08:00
Hk-Gosuto
7f3d261fb2 feat: api supports image input 2023-12-06 13:12:47 +08:00
Hk-Gosuto
4c46de7d1d feat: style change 2023-12-06 13:12:47 +08:00
Hk-Gosuto
796abf83ce Merge remote-tracking branch 'upstream/main' 2023-12-06 11:00:40 +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
Hk-Gosuto
a9f2a9d963 fix(73): fix bug 2023-12-01 17:48:11 +08:00
Hk-Gosuto
e88685fc98 refactor: refactor code 2023-11-29 13:11:00 +08:00
Hk-Gosuto
293679fa64 refactor: refactor agent api route 2023-11-29 13:11:00 +08:00
Hk-Gosuto
35f5dc52e7 feat: support switch nodejs plugin 2023-11-29 13:11:00 +08:00
Hk-Gosuto
a810ebea36 feat: plugin filtering 2023-11-29 13:11:00 +08:00
Hk-Gosuto
a8e19a81ff feat: add pdf browser plugin 2023-11-29 13:11:00 +08:00
Yifei Zhang
2c12be62c4
Merge pull request #3383 from H0llyW00dzZ/auth 2023-11-27 15:51:27 +08:00