Commit Graph

956 Commits

Author SHA1 Message Date
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
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
sijinhui
3b5d6e089a 修复当前时间查询 2023-12-23 00:12:55 +08:00
sijinhui
b064e16278 优化token计数 2023-12-22 23:18:19 +08:00
sijinhui
07c48ef7fd 加强不可用模型过滤 2023-12-22 21:20:30 +08:00
sijinhui
36d993cc5a 禁用gpt-all 2023-12-22 20:59:07 +08:00
sijinhui
1227fb1882 替换使用echarts显示图表 2023-12-22 16:53:06 +08:00
sijinhui
d5e05adbe4 解决图表数据传递问题 2023-12-22 16:11:37 +08:00
sijinhui
cca33ae16f 解决图表显示问题 2023-12-22 13:46:40 +08:00
sijinhui
c1ba0be98b 优化布局 2023-12-21 22:49:36 +08:00
sijinhui
e31bb1fcff init 2023-12-21 22:22:31 +08:00
sijinhui
d37e5fb4ac 尝试增加管理页面 2023-12-20 13:33:11 +08:00
sijinhui
ec3c324ef2 还有遗留bug 2023-12-19 23:44:20 +08:00
sijinhui
8d83e8ad16 尝试增加管理页面 2023-12-19 19:03:35 +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
sijinhui
b43c0b0109 init 2023-12-16 23:05:14 +08:00
Yifei Zhang
bcb520ed3b
Update emoji.tsx 2023-12-15 15:18:02 +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