Commit Graph

225 Commits

Author SHA1 Message Date
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
Fred Liang
ae19a0dc5f
chroe: update model name 2023-12-24 04:22:12 +08:00
Fred Liang
45798f993d
fix: fix type errors 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
36d993cc5a 禁用gpt-all 2023-12-22 20:59:07 +08:00
sijinhui
b43c0b0109 init 2023-12-16 23:05:14 +08: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
Yifei Zhang
d033168d80
fix: #3241 should not ensure openai url non-empty 2023-11-13 10:53:30 +08:00
Yidadaa
b7ffca031e feat: close #935 add azure support 2023-11-10 02:43:37 +08:00
H0llyW00dzZ
544bab0fe2
Refactor Summarize Logic
[+] chore(chat.ts): remove unnecessary comment and refactor variable name
[+] feat(chat.ts): add stream: false to config object
2023-11-09 20:56:45 +07:00
Yifei Zhang
87e3d663a2
fix: #3192 use smaller max_tokens as default 2023-11-09 11:00:09 +08:00
Yidadaa
d0a1d910d4 fix: #3186 enable max_tokens in chat payload 2023-11-09 03:19:13 +08:00
Yidadaa
d93f05f511 feat: close #3187 use CUSTOM_MODELS to control model list 2023-11-09 03:01:29 +08:00