Commit Graph

238 Commits

Author SHA1 Message Date
sijinhui
4fc3de5c55 package 2024-05-08 11:37:50 +08:00
sijinhui
5b1f0355ce Merge remote-tracking branch 'upstream/main' into dev
# Conflicts:
#	app/config/server.ts
#	app/utils/model.ts
2024-05-07 16:39:45 +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
sijinhui
35e7f12d88 add model 2024-04-28 14:34:58 +08:00
sijinhui
f07a3729b9 Merge remote-tracking branch 'upstream/main' into dev
# Conflicts:
#	app/components/chat.tsx
#	app/constant.ts
#	app/store/access.ts
#	app/utils/hooks.ts
2024-04-26 14:02:16 +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
sijinhui
7467bf1d25 Merge remote-tracking branch 'upstream/main' into update
# Conflicts:
#	app/constant.ts
#	app/locales/tw.ts
#	app/utils.ts
2024-04-16 13:26:10 +08:00
sijinhui
1ac9325f31 Merge remote-tracking branch 'upstream/main' into dev 2024-04-13 00:09:48 +08:00
sijinhui
d6e758269d optimize prompt 2024-04-13 00:08:31 +08:00
l.tingting
aa084ea09a add timezone in system prompts 2024-04-12 23:07:29 +08:00
butterfly
ee15c14049 feat: fix webdav 逻辑 2024-04-12 13:40:37 +08:00
sijinhui
40c6225c23 Merge remote-tracking branch 'upstream/main' into dev
# Conflicts:
#	app/constant.ts
#	app/store/chat.ts
#	app/utils/model.ts
2024-04-10 23:23:17 +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
sijinhui
a83d79a9f4 Merge remote-tracking branch 'upstream/main' into dev
# Conflicts:
#	app/api/auth.ts
#	app/client/platforms/openai.ts
#	app/components/settings.tsx
#	app/config/server.ts
#	app/constant.ts
#	app/locales/pt.ts
#	app/locales/sk.ts
#	app/locales/tw.ts
#	app/store/chat.ts
2024-04-09 10:39:16 +08:00
butterfly
264da6798c feat: remove duplicate Input Template 2024-04-08 18:06:17 +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
69b079c86e feat: dev done 2024-04-07 11:32:57 +08:00
sijinhui
070f143541 将3.5模型更换为微软的,进一步节约成本 2024-04-01 18:27:06 +08:00
sijinhui
e6912f5be8 Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	app/api/common.ts
2024-03-28 16:07:23 +08:00
DeanYao
e38b527ac2
Merge pull request #3205 from H0llyW00dzZ/summarizelogic
Refactor Summarize Logic
2024-03-28 15:19:32 +08:00
sijinhui
8513c459b1 增加语音功能 2024-03-28 00:51:45 +08:00
sijinhui
8620df325d 增加语音输入 2024-03-28 00:48:40 +08:00
sijinhui
156333fb54 增加claude3模型 2024-03-20 08:47:55 +08:00
sijinhui
598a278e9b Merge remote-tracking branch 'upstream/main' into dev
# Conflicts:
#	package.json
2024-03-19 10:02:53 +08:00
Fred
066ca9e552
fix: auto migrate proxy config 2024-03-14 03:03:46 +08:00
sijinhui
7b7d3525a2 暂存 2024-03-02 09:25:15 +08:00
sijinhui
747bed9826 重构绘图相关 2024-02-22 00:21:36 +08:00
sijinhui
e3b0d909fe 暂存merge 2024-02-21 14:16:58 +08: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
sijinhui
21d534ea2e 微调,无关紧要 2024-02-20 17:10:24 +08:00
sijinhui
8e81d3e2e5 调整顺序 2024-02-20 12:47:17 +08:00
sijinhui
a11cf11c01 关闭1106 2024-02-19 18:07:35 +08:00
sijinhui
84dd704e4d 0125切换使用微软 2024-02-19 17:07:47 +08:00
sijinhui
adc55d67d2 Merge remote-tracking branch 'upstream/main' into dev
# Conflicts:
#	.github/workflows/deploy_preview.yml
#	app/client/api.ts
#	app/client/platforms/google.ts
#	app/store/chat.ts
2024-02-08 21:29:22 +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
sijinhui
830f98f335 Merge remote-tracking branch 'upstream/main' into dev
# Conflicts:
#	app/constant.ts
2024-02-05 17:20: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
Duplicate4
b25a0545f5
fix: typo (#3871)
Signed-off-by: Dup4 <lyuzhi.pan@gmail.com>
2024-02-03 01:20:10 +08:00
sijinhui
f23abdea1a 1 2024-01-28 01:19:27 +08:00
fred-bf
f619e9df24 chore: change default submit key 2024-01-25 15:22:45 +08:00
sijinhui
936ae673d3 Google AI模型支持 2024-01-15 23:57:33 +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
reece00
3ba598633c
Non -GPT model disable system prompt (#3684) 2023-12-28 23:52:45 +08:00
sijinhui
ebe8cc1dc7 修复midjourney绘图失败小问题 2023-12-28 23:11:48 +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
Fred Liang
199f29e63c
chore: auto concat messages 2023-12-25 04:33:47 +08:00