Commit Graph

1342 Commits

Author SHA1 Message Date
DirkSchlossmacher
5a19f6745a Merge remote-tracking branch 'upstream/main' 2024-05-14 14:54:01 +02:00
DirkSchlossmacher
c132b30df0 Update constant.ts 2024-05-14 14:49:14 +02:00
DirkSchlossmacher
00bd631260 model listing 2024-05-14 14:43:01 +02:00
DirkSchlossmacher
969dfbdb30 anthropicModels 2024-05-14 14:38:43 +02:00
DirkSchlossmacher
4f31c31763 googleModels 2024-05-14 13:59:31 +02:00
DirkSchlossmacher
10e428c825 // model reduction 2024-05-14 13:49:05 +02:00
fred-bf
5df8b1d183
fix: revert gpt-4-turbo-preview detection 2024-05-14 14:32:34 +08:00
DirkSchlossmacher
42fe07c7fd Merge remote-tracking branch 'upstream/main' 2024-05-14 07:49:30 +02:00
DirkSchlossmacher
18a5235497 "gpt-4-turbo",
replace
2024-05-14 06:54:13 +02:00
Leo Li
ef5f910f19
support gpt-4o 2024-05-13 17:28:13 -04:00
DirkSchlossmacher
607a4b067f gpt-4o 2024-05-13 20:14:31 +02:00
Dmitry Sandalov
d3131d2f55
Fix typo for "OpenAI Endpoint" in the en locale 2024-05-13 10:39:49 +02:00
DeanYao
212ae76d76
Merge pull request #4610 from rooben-me/fix-sync
Fix Sync Issue with Upstash
2024-05-13 11:28:29 +08:00
GH Action - Upstream Sync
8cc570290e Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web 2024-05-08 00:56:28 +00:00
GH Action - Upstream Sync
ca3656e031 Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web 2024-05-07 01:08:09 +00:00
Dean-YZG
864529cbf6 feat: googleApiKey & anthropicApiKey support setting multi-key 2024-05-06 21:14:53 +08:00
Dean-YZG
a1493bfb4e feat: bugfix 2024-05-06 20:46:53 +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
DirkSchlossmacher
58d4a5632c en masks and prompts 2024-05-03 17:56:53 +02:00
ruban
8ef2617eec
Removed spaces 2024-05-02 23:24:41 -07:00
ruban
1da7d81122
Fix cloud data sync issue with Upstash (#4563) 2024-05-02 23:22:32 -07:00
ruban
a103582346
fix 2024-05-02 23:10:10 -07:00
ruban
7b61d05e88
new fix 2024-05-02 23:08:17 -07:00
ruban
6fc7c50f19
this 2024-05-02 22:55:41 -07:00
ruban
9d728ec3c5
this is ti 2024-05-02 22:50:35 -07:00
ruban
9cd3358e4e
this is the fix 2024-05-02 22:40:52 -07:00
ruban
4cd94370e8 fix i think 2024-05-03 05:25:11 +00:00
DirkSchlossmacher
4cd6327b19 Merge remote-tracking branch 'upstream/main' 2024-04-29 07:15:01 +02:00
DeanYao
506c17a093
Merge pull request #4564 from MrrDrr/gpt4v_remove_max_tokens
remove max_tokens from the official version of gpt4-turbo
2024-04-25 13:01:21 +08:00
DeanYao
69642fba52
Merge pull request #4557 from RoyRao2333/dev/no-fucos-outline
chore: No outline when element is in `:focus-visible` state
2024-04-25 12:58:19 +08:00
DeanYao
7d647c981f
Merge pull request #4535 from RubuJam/main
Refer to OpenAI documentation to delete some models.
2024-04-25 11:44:01 +08:00
l.tingting
dd4648ed9a remove max_tokens from the official version of gpt4-turbo 2024-04-24 22:59:14 +08:00
Roy
1cd0beb231 chore: No outline when element is in :focus-visible state 2024-04-23 11:48:54 +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
DirkSchlossmacher
116202f761 if (!apiKey || !!serverConfig.hideUserApiKey) { 2024-04-18 11:13:22 +02:00
DirkSchlossmacher
433fc1c5be max > min 2024-04-17 18:23:02 +02:00
DirkSchlossmacher
32444513a7 Object.defineProperty(requestPayload, "max_tokens", {
enumerable: true,
        configurable: true,
        writable: true,
        value: 4096,
      });
2024-04-17 18:21:02 +02:00
DirkSchlossmacher
699d6edaab systemApiKey 2024-04-17 18:08:09 +02:00
DirkSchlossmacher
d89bb69565 SideBar 2024-04-17 17:57:08 +02:00
DirkSchlossmacher
63e75cd99b useAccessStore is defined multiple times 2024-04-17 17:45:42 +02:00
DirkSchlossmacher
f94938810e constant 2024-04-17 17:22:18 +02:00
DirkSchlossmacher
8eecd945f5 Merge remote-tracking branch 'upstream/main' 2024-04-17 17:19:57 +02:00
DirkSchlossmacher
dac2d089bf gpt-4-turbo 2024-04-17 16:09:27 +02:00
黑云白土
b7aab3c102
Update google.ts 2024-04-17 17:16:31 +08:00
黑云白土
fcb1a657e3
Update constant.ts 2024-04-17 16:24:11 +08:00
DirkSchlossmacher
ba8bb01233 gpt-4-turbo 2024-04-17 08:22:15 +02:00
DirkSchlossmacher
f6e2d3a68c
Update openai.ts
update modelsToReplace
2024-04-16 22:12:54 +02:00
DirkSchlossmacher
94ea750137
Update openai.ts
// add max_tokens to vision model
    if (visionModel) {
      Object.defineProperty(requestPayload, "max_tokens", {
        enumerable: true,
        configurable: true,
        writable: true,
        value: 4096,
      });
    }

    // value: modelConfig.max_tokens,
2024-04-16 22:01:55 +02:00
DirkSchlossmacher
1e83c4f8ab
Update utils.ts
is vision model = gpt-4-turbo-2024-04-09
2024-04-16 21:57:42 +02:00
DirkSchlossmacher
a9f33d8f0b
Update constant.ts
gpt-4-turbo-2024-04-09
2024-04-16 21:54:36 +02:00