Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking β€œSign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview #5332

Closed
wants to merge 364 commits into from
Closed

Preview #5332

Changes from 1 commit
Commits
Show all changes
364 commits
Select commit Hold shift + click to select a range
a362147
Update openai.ts
DirkSchlossmacher Sep 27, 2023
1ed38eb
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Sep 28, 2023
1fa076b
AdEx Prompt General
DirkSchlossmacher Sep 29, 2023
360c9b1
Update prompts.json
DirkSchlossmacher Sep 29, 2023
47df9c9
prompt
DirkSchlossmacher Oct 2, 2023
48bedd7
Update prompts.json
DirkSchlossmacher Oct 2, 2023
c6930e1
Update constant.ts
DirkSchlossmacher Oct 2, 2023
25debac
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Oct 8, 2023
b41a4ec
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Oct 10, 2023
678f7ef
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Oct 11, 2023
bdcf93a
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Oct 12, 2023
4063370
Merge remote-tracking branch 'upstream/main'
DirkSchlossmacher Oct 16, 2023
89ac18d
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Oct 24, 2023
f3de440
mask prompt disabling
DirkSchlossmacher Oct 24, 2023
6249661
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Oct 27, 2023
51c4aff
mask w AdEx Short Portfolio
DirkSchlossmacher Oct 27, 2023
a15018f
AdEx SP short mask edit
DirkSchlossmacher Oct 27, 2023
6579ad2
jan 2022 cut off
DirkSchlossmacher Oct 30, 2023
f71ba87
model updates 6-nov
DirkSchlossmacher Nov 6, 2023
45f66f5
cut off removal
DirkSchlossmacher Nov 7, 2023
f1fdeb4
gpt-3.5-turbo-1106
DirkSchlossmacher Nov 7, 2023
3942f51
Add authentication
JuliusMoehring Nov 7, 2023
7d6496a
Fix next auth routes
JuliusMoehring Nov 7, 2023
22e583d
Merge https://github.com/Yidadaa/ChatGPT-Next-Web
DirkSchlossmacher Nov 7, 2023
60e3312
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Nov 7, 2023
3545740
Add basic login screen | add logout button
JuliusMoehring Nov 7, 2023
c77bedf
Add auto login
JuliusMoehring Nov 7, 2023
4628980
Merge branch 'main' of https://github.com/DirkSchlossmacher/ChatGPT-N…
JuliusMoehring Nov 7, 2023
e1b5478
Merge branch 'Yidadaa:main' into main
DirkSchlossmacher Nov 8, 2023
9bdbce9
Merge branch 'Yidadaa:main' into feature/SSO
DirkSchlossmacher Nov 8, 2023
d8b38b6
Update middleware to allow access of serviceworker files
JuliusMoehring Nov 8, 2023
6c4b92c
Merge branch 'feature/SSO' of https://github.com/DirkSchlossmacher/Ch…
JuliusMoehring Nov 8, 2023
e1d65b2
Fix matcher
JuliusMoehring Nov 8, 2023
a99eed7
Merge branch 'main' into feature/SSO
JuliusMoehring Nov 8, 2023
d21ca81
Merge branch 'Yidadaa:main' into main
DirkSchlossmacher Nov 8, 2023
25f1bec
Merge pull request #6 from DirkSchlossmacher/feature/SSO
DirkSchlossmacher Nov 8, 2023
9023486
gpt-4-1106-preview
DirkSchlossmacher Nov 8, 2023
50e0f66
Merge branch 'Yidadaa:main' into main
DirkSchlossmacher Nov 8, 2023
70c72e1
Merge remote-tracking branch 'upstream/HEAD'
DirkSchlossmacher Nov 9, 2023
0656211
from "react";
DirkSchlossmacher Nov 9, 2023
7038247
CloseIcon
DirkSchlossmacher Nov 9, 2023
c3175d2
default model config
DirkSchlossmacher Nov 9, 2023
c9b6287
gpt-4
DirkSchlossmacher Nov 9, 2023
4373e3e
max_tokens: 4000,
DirkSchlossmacher Nov 9, 2023
a953fab
GPT-4-1106-preview + 4000 Max Tokens
DirkSchlossmacher Nov 9, 2023
5c35980
max token locales
DirkSchlossmacher Nov 9, 2023
459d86b
AdEx long mask
DirkSchlossmacher Nov 9, 2023
6e7cede
Squashed commit of the following:
DirkSchlossmacher Nov 10, 2023
f418ac7
PROXY_URL duplicate
DirkSchlossmacher Nov 10, 2023
e190621
VERCEL?: "1" | undefined;
DirkSchlossmacher Nov 10, 2023
aba1153
duplicates
DirkSchlossmacher Nov 10, 2023
04e2903
full Adx mask
DirkSchlossmacher Nov 10, 2023
dc0f4a6
model clean-up
DirkSchlossmacher Nov 10, 2023
f26f5e5
gpt-4-1106-preview
DirkSchlossmacher Nov 10, 2023
7a7d82a
clone.ts
DirkSchlossmacher Nov 10, 2023
945160a
Merge remote-tracking branch 'upstream/main'
DirkSchlossmacher Nov 10, 2023
7974974
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Nov 12, 2023
0db4105
Merge branch 'Yidadaa:main' into main
DirkSchlossmacher Nov 12, 2023
82ed253
add auth log
DirkSchlossmacher Nov 13, 2023
c62d317
auth log2
DirkSchlossmacher Nov 13, 2023
84950c7
auth log3
DirkSchlossmacher Nov 13, 2023
2374c09
auth log3
DirkSchlossmacher Nov 13, 2023
f1bb136
auth new
DirkSchlossmacher Nov 13, 2023
038c57f
ioredis and redisClient
DirkSchlossmacher Nov 13, 2023
145701d
redis for logging
DirkSchlossmacher Nov 13, 2023
1ad18ca
auth change to log on redisRestClient
DirkSchlossmacher Nov 13, 2023
76046cb
path changes
DirkSchlossmacher Nov 13, 2023
44a9b01
auth path
DirkSchlossmacher Nov 13, 2023
b956656
ath fixes
DirkSchlossmacher Nov 13, 2023
34c0d0e
redis refactor
DirkSchlossmacher Nov 13, 2023
9496f6b
redis env vars
DirkSchlossmacher Nov 13, 2023
83ed6bf
redis env 2
DirkSchlossmacher Nov 13, 2023
0dfabd6
usageTokens
DirkSchlossmacher Nov 13, 2023
0dd9a35
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Nov 14, 2023
f9b1dc9
no usage
DirkSchlossmacher Nov 14, 2023
b5e01e1
access
DirkSchlossmacher Nov 14, 2023
f871e2b
SessionRefresh log
DirkSchlossmacher Nov 14, 2023
595cf6b
usagestats v0
DirkSchlossmacher Nov 14, 2023
4bc8c73
div in usagestats
DirkSchlossmacher Nov 14, 2023
747336b
sidebar api link usagestats
DirkSchlossmacher Nov 14, 2023
45ec58b
sidebar changes
DirkSchlossmacher Nov 14, 2023
6870634
div
DirkSchlossmacher Nov 14, 2023
b11f2f0
import
DirkSchlossmacher Nov 14, 2023
45cd442
path .
DirkSchlossmacher Nov 14, 2023
e45b567
useState
DirkSchlossmacher Nov 14, 2023
2ba5a8c
'./utils/cloud/redisRestClient'
DirkSchlossmacher Nov 14, 2023
511f650
path2
DirkSchlossmacher Nov 14, 2023
35c6263
redisRestClient refactor
DirkSchlossmacher Nov 14, 2023
e3a6787
type changes
DirkSchlossmacher Nov 14, 2023
0f57257
type changes
DirkSchlossmacher Nov 14, 2023
6a6a249
img
DirkSchlossmacher Nov 14, 2023
14795c5
sidebar
DirkSchlossmacher Nov 14, 2023
993c7be
redis no error
DirkSchlossmacher Nov 14, 2023
cc8b1e3
getRedisClient
DirkSchlossmacher Nov 14, 2023
c93d001
redis null
DirkSchlossmacher Nov 14, 2023
4cb13df
redisRestClient rework
DirkSchlossmacher Nov 14, 2023
741f727
return 0
DirkSchlossmacher Nov 14, 2023
2c8e112
text export as default
DirkSchlossmacher Nov 14, 2023
983f96d
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Nov 15, 2023
539d536
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Nov 16, 2023
d94205e
api key
DirkSchlossmacher Nov 16, 2023
855cc68
(!apiKey || !!serverConfig.hideUserApiKey) {
DirkSchlossmacher Nov 17, 2023
d9ac215
gpt-3.5-turbo-1106
DirkSchlossmacher Nov 17, 2023
da57ddd
Circumvent Limit of 4k Output-Tokens
DirkSchlossmacher Nov 17, 2023
5ef06b6
AdEx Circumvent Limit of 4k
DirkSchlossmacher Nov 17, 2023
95bf880
AdEx Circumvent Limit of 4k Output
DirkSchlossmacher Nov 17, 2023
948f11b
Merge https://github.com/Yidadaa/ChatGPT-Next-Web
DirkSchlossmacher Nov 17, 2023
6d44c5c
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Nov 19, 2023
accfe4c
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Nov 20, 2023
4e124ef
AdEx Circumvent Limit of 4k Output-Tokens
DirkSchlossmacher Nov 21, 2023
32e4ab7
"historyMessageCount":20,
DirkSchlossmacher Nov 21, 2023
62955f1
incrementAPICallCount
DirkSchlossmacher Nov 23, 2023
51e5785
const session = await getServerSession();
DirkSchlossmacher Nov 23, 2023
ea0e0f8
getServerSession
DirkSchlossmacher Nov 23, 2023
fda1afd
modelConfig.model
DirkSchlossmacher Nov 23, 2023
4b66ba8
userEmail
DirkSchlossmacher Nov 23, 2023
04ed030
session or email is not available
DirkSchlossmacher Nov 23, 2023
edaa25d
const modelIdentifier = modelConfig.model;
DirkSchlossmacher Nov 23, 2023
d86b7dd
getServerAuthSession
DirkSchlossmacher Nov 23, 2023
ee042d9
no req
DirkSchlossmacher Nov 23, 2023
9f68da3
getMyServerSession
DirkSchlossmacher Nov 23, 2023
d0a8be1
rollback
DirkSchlossmacher Nov 23, 2023
bf334d9
no model tracking in redis
DirkSchlossmacher Nov 23, 2023
2d4544e
modelsToReplace
DirkSchlossmacher Nov 24, 2023
d104afd
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Nov 25, 2023
76df875
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Nov 28, 2023
bfe7c5b
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Nov 30, 2023
d8d4253
last_sessionInc
DirkSchlossmacher Dec 5, 2023
d142eaa
{ last_sessionInc: timeValue }
DirkSchlossmacher Dec 5, 2023
4e18035
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Dec 7, 2023
c52bbb5
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Dec 12, 2023
a5f7e98
ChatGPTNextWeb/ChatGPT-Next-Web
DirkSchlossmacher Dec 18, 2023
ba7bca9
Merge branch 'ChatGPTNextWeb:main' into main
DirkSchlossmacher Dec 18, 2023
a32d602
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user Dec 19, 2023
f0c7659
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user Dec 20, 2023
7cfa8d8
iOS
DirkSchlossmacher Dec 21, 2023
11c1bb4
Merge branch 'main' of https://github.com/DirkSchlossmacher/ChatGPT-N…
DirkSchlossmacher Dec 21, 2023
20211b2
ChatGPT-Next-Web-AdEx iOS
DirkSchlossmacher Dec 21, 2023
40decb7
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user Dec 23, 2023
14f1b3a
AdEx_CV_SkillExtraction_V0.91
DirkSchlossmacher Jan 23, 2024
ac16567
Merge branch 'main' of https://github.com/DirkSchlossmacher/ChatGPT-N…
DirkSchlossmacher Jan 23, 2024
e4fbf1b
gpt-4-1106-preview
DirkSchlossmacher Jan 23, 2024
9d765fb
instructs
DirkSchlossmacher Jan 23, 2024
bcd01b7
https://t.ly/09Ato
DirkSchlossmacher Jan 23, 2024
b0b5e5e
gpt-4-turbo-preview
DirkSchlossmacher Jan 29, 2024
5f3f1dd
Update en.ts remove skill mask
DirkSchlossmacher Feb 6, 2024
ecdd3dd
AdEx_CV_SkillExtraction_V0.93
DirkSchlossmacher Feb 19, 2024
86ea216
"2023-12",
DirkSchlossmacher Feb 23, 2024
5a8fbaa
model replace
DirkSchlossmacher Feb 23, 2024
566657c
SUMMARIZE_MODEL = "gpt-3.5-turbo";
DirkSchlossmacher Feb 23, 2024
f1526eb
Merge remote-tracking branch 'upstream/main' into klaas20240303
klaas1979 Mar 25, 2024
7c3ac05
Update home.tsx
klaas1979 Mar 25, 2024
20c81d0
Fixing manual merge
klaas1979 Mar 25, 2024
23b560f
Fixed manual merge removed import
klaas1979 Mar 25, 2024
51cc811
fix: double rendering of children in layout
klaas1979 Apr 14, 2024
a9f33d8
Update constant.ts
DirkSchlossmacher Apr 16, 2024
1e83c4f
Update utils.ts
DirkSchlossmacher Apr 16, 2024
94ea750
Update openai.ts
DirkSchlossmacher Apr 16, 2024
f6e2d3a
Update openai.ts
DirkSchlossmacher Apr 16, 2024
ba8bb01
gpt-4-turbo
DirkSchlossmacher Apr 17, 2024
dac2d08
gpt-4-turbo
DirkSchlossmacher Apr 17, 2024
8eecd94
Merge remote-tracking branch 'upstream/main'
DirkSchlossmacher Apr 17, 2024
f949388
constant
DirkSchlossmacher Apr 17, 2024
63e75cd
`useAccessStore` is defined multiple times
DirkSchlossmacher Apr 17, 2024
d89bb69
SideBar
DirkSchlossmacher Apr 17, 2024
699d6ed
systemApiKey
DirkSchlossmacher Apr 17, 2024
3244451
Object.defineProperty(requestPayload, "max_tokens", {
DirkSchlossmacher Apr 17, 2024
433fc1c
max > min
DirkSchlossmacher Apr 17, 2024
116202f
if (!apiKey || !!serverConfig.hideUserApiKey) {
DirkSchlossmacher Apr 18, 2024
4cd6327
Merge remote-tracking branch 'upstream/main'
DirkSchlossmacher Apr 29, 2024
2a7203e
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user May 1, 2024
58d4a56
en masks and prompts
DirkSchlossmacher May 3, 2024
ca3656e
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user May 7, 2024
8cc5702
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user May 8, 2024
607a4b0
gpt-4o
DirkSchlossmacher May 13, 2024
18a5235
"gpt-4-turbo",
DirkSchlossmacher May 14, 2024
42fe07c
Merge remote-tracking branch 'upstream/main'
DirkSchlossmacher May 14, 2024
fba17d7
next-auth back in
DirkSchlossmacher May 14, 2024
10e428c
// model reduction
DirkSchlossmacher May 14, 2024
4f31c31
googleModels
DirkSchlossmacher May 14, 2024
969dfbd
anthropicModels
DirkSchlossmacher May 14, 2024
00bd631
model listing
DirkSchlossmacher May 14, 2024
c132b30
Update constant.ts
DirkSchlossmacher May 14, 2024
5a19f67
Merge remote-tracking branch 'upstream/main'
DirkSchlossmacher May 14, 2024
67e06db
constants
DirkSchlossmacher May 14, 2024
5775876
Merge remote-tracking branch 'upstream/main'
DirkSchlossmacher May 16, 2024
9edd824
Merge remote-tracking branch 'upstream/main'
DirkSchlossmacher May 17, 2024
149de44
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user May 21, 2024
48e9db0
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user May 23, 2024
4463665
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user May 28, 2024
8cee782
Merge remote-tracking branch 'upstream/main'
DirkSchlossmacher Jun 10, 2024
1f5f14c
settings
DirkSchlossmacher Jun 12, 2024
1fd3ff9
settings 2
DirkSchlossmacher Jun 12, 2024
f2b2344
Merge remote-tracking branch 'upstream/main'
DirkSchlossmacher Jun 25, 2024
855dbca
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user Jun 27, 2024
223c88f
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user Jul 2, 2024
6268649
Merge remote-tracking branch 'upstream/main'
DirkSchlossmacher Jul 16, 2024
5ada86a
Update index.ts
DirkSchlossmacher Jul 16, 2024
f4a2bb7
masks cn
DirkSchlossmacher Jul 16, 2024
51a5a0c
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user Jul 17, 2024
2c1683a
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user Jul 18, 2024
a6c2c2a
constant.ts aktualisieren
DirkSchlossmacher Jul 18, 2024
8d6487f
Update constant.ts
DirkSchlossmacher Jul 18, 2024
b683701
Update constant.ts
DirkSchlossmacher Jul 18, 2024
c2c462c
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user Jul 19, 2024
b6c3fe5
Merge remote-tracking branch 'upstream/main'
DirkSchlossmacher Jul 27, 2024
6b0ef4f
copy sidebar
DirkSchlossmacher Jul 27, 2024
469082d
sidebar retry
DirkSchlossmacher Jul 27, 2024
8dbd9f6
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user Jul 30, 2024
587bfb0
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user Jul 31, 2024
7770686
Merge remote-tracking branch 'upstream/main'
DirkSchlossmacher Jul 31, 2024
b41e49d
Update constant.ts
DirkSchlossmacher Jul 31, 2024
fcc9d60
Merge branch 'main' of https://github.com/DirkSchlossmacher/ChatGPT-N…
DirkSchlossmacher Jul 31, 2024
8338151
x
DirkSchlossmacher Jul 31, 2024
1e3ff03
dynamic
DirkSchlossmacher Jul 31, 2024
784784f
x
DirkSchlossmacher Jul 31, 2024
79daab4
x
DirkSchlossmacher Jul 31, 2024
22cb4f9
AdExIcon
DirkSchlossmacher Jul 31, 2024
4ae72d7
width="43" height="44"
DirkSchlossmacher Jul 31, 2024
986088a
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user Aug 2, 2024
d5e1b8a
Merge remote-tracking branch 'upstream/main'
DirkSchlossmacher Aug 5, 2024
7e4fcc5
constant.ts aktualisieren
DirkSchlossmacher Aug 5, 2024
eba3d89
Merge remote-tracking branch 'upstream/main'
DirkSchlossmacher Aug 6, 2024
59f0a6a
models
DirkSchlossmacher Aug 6, 2024
fe31e75
constant.ts aktualisieren
DirkSchlossmacher Aug 6, 2024
4762a08
openai.ts aktualisieren
DirkSchlossmacher Aug 6, 2024
2e6ab13
openai.ts aktualisieren
DirkSchlossmacher Aug 6, 2024
b898a2d
fix multi-model confusion
DirkSchlossmacher Aug 7, 2024
06555f0
x
DirkSchlossmacher Aug 7, 2024
bdee8a8
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user Aug 8, 2024
0ed79aa
new openai models
DirkSchlossmacher Aug 8, 2024
d53e642
gpt-4o replace
DirkSchlossmacher Aug 8, 2024
2f7e78d
gpt-4o-2024-05-13
DirkSchlossmacher Aug 8, 2024
e1ca34f
enforce default model via config.ts
DirkSchlossmacher Aug 9, 2024
3553bff
console.log("state as ChatConfig (after): ", state);
DirkSchlossmacher Aug 9, 2024
e6832b8
console.log("defaultModel set (access.ts): ", defaultModel);
DirkSchlossmacher Aug 9, 2024
39637e3
DEFAULT_ACCESS_STATE
DirkSchlossmacher Aug 9, 2024
6b84cf9
Merge remote-tracking branch 'upstream/main'
DirkSchlossmacher Aug 9, 2024
2bf70a9
console.log("get useAppConfig: ", state);
DirkSchlossmacher Aug 9, 2024
fea62af
modelMap
DirkSchlossmacher Aug 9, 2024
cf0030e
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user Aug 13, 2024
1c22f9b
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user Aug 16, 2024
056de22
const shouldStream = !isDalle3 && !!options.config.stream;
DirkSchlossmacher Aug 16, 2024
b257f43
api/cache/upload
DirkSchlossmacher Aug 16, 2024
55398e3
Merge remote-tracking branch 'upstream/main'
DirkSchlossmacher Aug 26, 2024
c6b7f31
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user Aug 28, 2024
87e612c
prompts
DirkSchlossmacher Aug 28, 2024
34fbad9
prompts
DirkSchlossmacher Aug 28, 2024
7b16509
Temporarily disable the fetching of prompts.json by commenting out th…
DirkSchlossmacher Aug 28, 2024
aecaba4
Update README.md - test
DirkSchlossmacher Aug 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
new openai models
DirkSchlossmacher committed Aug 8, 2024
commit 0ed79aa814a4033b6296fd2b17977a8cdeb1e394
2 changes: 2 additions & 0 deletions app/constant.ts
Original file line number Diff line number Diff line change
@@ -245,6 +245,7 @@ export const KnowledgeCutOffDate: Record<string, string> = {
"gpt-4o-mini": "2023-10",
"gpt-4o-2024-05-13": "2023-10",
"gpt-4o-mini-2024-07-18": "2023-10",
"gpt-4o-2024-08-06": "2023-10",
"gpt-4-vision-preview": "2023-04",

// After improvements,
@@ -265,6 +266,7 @@ const openaiModels = [
// "gpt-4-turbo-preview",
"gpt-4o-mini",
"gpt-4o",
"gpt-4o-2024-08-06",
// "gpt-4o-2024-05-13",
// "gpt-4-vision-preview",
// "gpt-4-turbo-2024-04-09"
8 changes: 4 additions & 4 deletions app/store/config.ts
Original file line number Diff line number Diff line change
@@ -31,11 +31,11 @@ const config = getClientConfig();
export const DEFAULT_CONFIG = {
lastUpdate: Date.now(), // timestamp, to merge state

submitKey: SubmitKey.Enter,
submitKey: SubmitKey.CtrlEnter,
avatar: "1f603",
fontSize: 14,
fontFamily: "",
theme: Theme.Auto as Theme,
fontFamily: "Overpass",
theme: Theme.Light as Theme,
tightBorder: !!config?.isApp,
sendPreviewBubble: false,
enableAutoGenerateTitle: true,
@@ -154,7 +154,7 @@ export const useAppConfig = createPersistStore(
}

if (version < 3.5) {
state.customModels = "claude,claude-100k";
// state.customModels = "claude,claude-100k";
}

if (version < 3.6) {