Commit Graph

984 Commits

Author SHA1 Message Date
sijinhui
7a8db39a2a 优化黑白名单 2024-01-23 13:42:10 +08:00
sijinhui
936ae673d3 Google AI模型支持 2024-01-15 23:57:33 +08:00
sijinhui
a18c7d7d77 Merge branch 'dev' 2024-01-15 23:38:08 +08:00
sijinhui
5b83a42231 添加Google 2024-01-15 23:36:27 +08:00
sijinhui
f759329c55 小bug 2024-01-10 21:58:42 +08:00
sijinhui
616fde0ebd 大幅度优化打包速度 2024-01-06 00:49:43 +08:00
sijinhui
0c2491e544 优化管理面板 2024-01-06 00:15:27 +08:00
sijinhui
eec1e16f1b 优化管理面板 2024-01-06 00:12:59 +08:00
sijinhui
618a76fada Merge remote-tracking branch 'upstream/main' into dev
# Conflicts:
#	app/locales/index.ts
2024-01-05 21:57:26 +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
sijinhui
af2800eb2d 优化token计算 2024-01-05 13:19:59 +08:00
sijinhui
6bcb0a5c97 merge 2024-01-02 22:52:58 +08:00
sijinhui
8a5915d122 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	app/layout.tsx
#	package.json
#	yarn.lock
2024-01-02 22:46:56 +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
sijinhui
c70222ee6d 进一步精简优化报表 2023-12-30 23:36:49 +08:00
sijinhui
2bbe13bf3a 暂存 2023-12-30 21:17:17 +08:00
sijinhui
f4b9741bcb 修复打包后页面不能刷新的问题 2023-12-30 10:38:36 +08:00
sijinhui
067ccb481b 修复管理员界面相关问题,优化页面显示 2023-12-29 23:49:26 +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
sijinhui
d5e92a7b06 修改提示词 2023-12-28 23:24:28 +08:00
sijinhui
ebe8cc1dc7 修复midjourney绘图失败小问题 2023-12-28 23:11:48 +08:00
Fred Liang
406530ca69
feat: support vercel speed insight (#3686) 2023-12-28 23:10:19 +08:00
sijinhui
3a92a1b8d1 修复日志图表的问题 2023-12-28 18:34:47 +08:00
sijinhui
b0e56e17c7 修复小细节 2023-12-28 13:22:09 +08:00
sijinhui
1e7d20580d merge upstream 2023-12-27 22:55:28 +08:00
sijinhui
19f4ef9194 merge upstream 2023-12-27 22:47:01 +08:00
sijinhui
eec5418e14 修复tiktoken计算插件打包错误 2023-12-27 22:17:12 +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