Commit Graph

111 Commits

Author SHA1 Message Date
Hk-Gosuto
f2b13848eb Merge remote-tracking branch 'upstream/main' 2024-04-21 12:58:47 +08:00
l.tingting
aa084ea09a add timezone in system prompts 2024-04-12 23:07:29 +08:00
Hk-Gosuto
668ee60e53 Merge remote-tracking branch 'upstream/main' 2024-04-12 12:18:38 +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
butterfly
264da6798c feat: remove duplicate Input Template 2024-04-08 18:06:17 +08:00
Hk-Gosuto
dc4137505e fix: docker rag bug 2024-04-08 12:42:10 +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
Hk-Gosuto
b00e9f0c79 feat: #77 2024-04-07 18:01:34 +08:00
Hk-Gosuto
958ab02d1e alpha version 2024-04-07 18:01:34 +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
Hk-Gosuto
c74c0ac8e8
Merge branch 'ChatGPTNextWeb:main' into main 2024-03-30 14:23:57 +08:00
DeanYao
e38b527ac2
Merge pull request #3205 from H0llyW00dzZ/summarizelogic
Refactor Summarize Logic
2024-03-28 15:19:32 +08:00
Hk-Gosuto
bdaf416a10 fix: #220 2024-03-09 16:04:20 +08:00
Hk-Gosuto
8fbcc653a0 Merge remote-tracking branch 'upstream/main' 2024-03-08 17:35:13 +08:00
TheRam_
e2da3406d2
Add vision support (#4076) 2024-02-20 18:04:32 +08:00
Hk-Gosuto
3974f0d477 fix: #203 2024-02-20 17:16:20 +08:00
Hk-Gosuto
f676aa19af feat: #168 2024-02-20 11:16:44 +08:00
Hk-Gosuto
8363fd26c5 fix: #198 2024-02-20 10:30:56 +08:00
Hk-Gosuto
b56d2e6b4f Merge remote-tracking branch 'upstream/main' 2024-02-09 08:23:26 +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
Hk-Gosuto
c45cab1e98
Merge branch 'ChatGPTNextWeb:main' into main 2024-02-06 00:16:32 +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
reece00
9da32a4785 Non -GPT model disable system prompt (#3684) 2023-12-29 13:52:52 +08:00
reece00
3ba598633c
Non -GPT model disable system prompt (#3684) 2023-12-28 23:52:45 +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
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
778e88cb56
chore: resolve conflict 2023-12-24 02:15:30 +08:00
Hk-Gosuto
ee08ab4070 feat: support gemini pro 2023-12-21 19:09:18 +08:00
Hk-Gosuto
7f3d261fb2 feat: api supports image input 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
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
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
Hk-Gosuto
c637826ebe Merge remote-tracking branch 'upstream/main' 2023-11-09 12:10:43 +08:00
Yidadaa
fbc0236748 fix: #3174 should prompt to confirm to delete chat 2023-11-09 02:03:05 +08:00
Hk-Gosuto
4eeb21af7d Merge remote-tracking branch 'upstream/main' 2023-11-08 18:43:40 +08:00
Yidadaa
836bf836d3 fix: #3152 system prompt should be injected 2023-11-07 23:54:30 +08:00
Yidadaa
cdf0311d27 feat: add claude and bard 2023-11-07 23:22:11 +08:00
Hk-Gosuto
3403825a71
Merge branch 'Yidadaa:main' into main 2023-11-06 22:01:33 -06:00
H0llyW00dzZ
d2d615c84a
Refactor KnowledgeCutoff
[+] fix(constant.ts): update DEFAULT_SYSTEM_TEMPLATE to include knowledgeCutoff and time variables
[+] feat(chat.ts): add support for injecting system prompts based on model configuration
2023-11-07 06:42:55 +07:00
Yidadaa
5610f423d0 feat: add multi-model support 2023-10-30 02:07:11 +08:00
Hk-Gosuto
ae86dfbf70
Merge branch 'Yidadaa:main' into main 2023-10-10 15:14:18 +08:00
KeithHello
ad5093ce05 Change log
-   config.ts
    -   line 72 remove type confirmation of x as x always has type 'number'
    -   line 135 remove redundant local variable
-   chat.ts
    -   delete unused import
2023-10-04 17:40:23 +09:00
Hk-Gosuto
06a8a10e54 Merge remote-tracking branch 'upstream/main' 2023-09-11 12:05:49 +08:00
Yidadaa
c73a91a0f5 fixup: fix type errors 2023-09-11 00:24:05 +08:00
Yidadaa
38f6956e71 feat: close #2754 add import/export to file 2023-09-11 00:20:23 +08:00
Hk-Gosuto
7c8872beb9 fix(12): 修复问题 2023-09-05 19:08:29 +08:00