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

update #1

Merged
merged 984 commits into from
Jul 13, 2024
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
984 commits
Select commit Hold shift + click to select a range
1049006
Merge pull request #4366 from Essmatiko123/dependabot/npm_and_yarn/es…
Dean-YZG Mar 26, 2024
711bf19
Merge pull request #4264 from ChatGPTNextWeb/dependabot/npm_and_yarn/…
Dean-YZG Mar 26, 2024
3c97a4f
Merge pull request #4091 from H0llyW00dzZ/docker-ignore
Dean-YZG Mar 26, 2024
43824bd
Merge pull request #4193 from MrrDrr/env_bug_fix
Dean-YZG Mar 26, 2024
afaa529
Merge pull request #3870 from Dup4/fix-webdav-check
Dean-YZG Mar 27, 2024
53fb52c
fix docker
hmhuming Mar 27, 2024
0de9242
Merge pull request #3529 from erich2s/chat-item-selected-border
Dean-YZG Mar 27, 2024
c93b36f
Merge pull request #3508 from reece00/Mask-language
Dean-YZG Mar 27, 2024
24caa3b
Merge branch 'main' of https://github.com/hmhuming/ChatGPT-Next-Web
hmhuming Mar 28, 2024
93e2151
Merge pull request #4408 from hmhuming/main
Dean-YZG Mar 28, 2024
8ef77f5
Merge branch 'main' into serverrside
Dean-YZG Mar 28, 2024
57026f6
Merge pull request #3424 from H0llyW00dzZ/serverrside
Dean-YZG Mar 28, 2024
e056a1d
Merge pull request #3405 from Yuliang-Lee/fix/MessageSelectorWarning
Dean-YZG Mar 28, 2024
6b3daec
Merge pull request #3314 from H0llyW00dzZ/text-moderation-azure
Dean-YZG Mar 28, 2024
113d961
Merge pull request #3280 from surkaa/patch-1
Dean-YZG Mar 28, 2024
e38b527
Merge pull request #3205 from H0llyW00dzZ/summarizelogic
Dean-YZG Mar 28, 2024
27ed57a
Update utils.ts
RubuJam Mar 28, 2024
cd30368
Update constant.ts
RubuJam Mar 28, 2024
f8b180a
Update google.ts
RubuJam Mar 28, 2024
4d0c77b
更新 constant.ts
RubuJam Mar 28, 2024
17e57bb
feat: update apple-touch-icon.png
xiaotianxt Mar 30, 2024
15e5958
feat: settings command dev done
Apr 2, 2024
9f3fc5e
Merge pull request #4417 from xiaotianxt/main
Dean-YZG Apr 4, 2024
69b079c
feat: dev done
Apr 7, 2024
3cb4315
feat: clean codes
Apr 7, 2024
768decd
feat: parse response message
Apr 7, 2024
86b5c55
feat: roles must alternate between user and assistant in claude, so a…
Apr 7, 2024
0fbb560
feat: delete returned models in modals function of ClaudeApi instance
Apr 7, 2024
ef7617d
feat: configs about app client
Apr 8, 2024
5446d8d
feat: fix illegal exports in app/api/anthropic/[...path]/route.ts
Apr 8, 2024
6dad353
feat: call claude api not in credential 'include' mode
Apr 8, 2024
63f9063
feat: call claude api not in credential 'include' mode
Apr 8, 2024
f68b8af
Merge pull request #4457 from ChatGPTNextWeb/feat-multi-models
Dean-YZG Apr 8, 2024
264da67
feat: remove duplicate Input Template
Apr 8, 2024
9b03ab8
Merge pull request #4461 from ChatGPTNextWeb/chore-fix
Dean-YZG Apr 8, 2024
9b982b4
feat: fix no max_tokens in payload when calling openai vision model
Apr 8, 2024
1b83dd0
Merge pull request #4462 from ChatGPTNextWeb/chore-fix
Dean-YZG Apr 8, 2024
02b0e79
feat: modify some propmt in DEFAULT_INPUT_TEMPLATE about expressing l…
Apr 8, 2024
db533fc
Merge pull request #4466 from ChatGPTNextWeb/chore-fix
Dean-YZG Apr 8, 2024
6cb296f
feat: remove debug code
Apr 9, 2024
984c79e
Merge pull request #4469 from ChatGPTNextWeb/chore-fix
Dean-YZG Apr 9, 2024
d508127
feat: fix system prompt
Apr 9, 2024
c7b14cb
Merge pull request #4470 from ChatGPTNextWeb/chore-fix
Dean-YZG Apr 9, 2024
84681d3
Update layout.tsx
dlb-data Apr 9, 2024
598468c
Update layout.tsx
dlb-data Apr 9, 2024
7fcfbc3
feat: 补充文档
Apr 9, 2024
f3106e3
Merge pull request #4477 from ChatGPTNextWeb/chore-fix
Dean-YZG Apr 9, 2024
8b191bd
feat: white webdav server domain
Apr 9, 2024
4cb0655
feat: Optimize document
Apr 9, 2024
b175132
feat: Optimize var names
Apr 9, 2024
df33139
feat: Optimize code
Apr 9, 2024
908ce3b
feat: Optimize document
Apr 9, 2024
13db64f
Merge pull request #4479 from ChatGPTNextWeb/chore-fix
Dean-YZG Apr 9, 2024
79f3424
feat: Solve the problem of using openai interface protocol for user-d…
Apr 9, 2024
dd1d850
Merge pull request #4476 from dlb-data/dlb-data-patch-1
Dean-YZG Apr 10, 2024
67acc38
Merge pull request #4480 from ChatGPTNextWeb/chore-fix
Dean-YZG Apr 10, 2024
6c718ad
Merge branch 'main' of github.com:ChatGPTNextWeb/ChatGPT-Next-Web
leo4life2 Apr 10, 2024
6319f41
add new turbo
leo4life2 Apr 10, 2024
f101ee3
support new vision models
leo4life2 Apr 10, 2024
5dc5bfb
Merge branch 'main' into main
RubuJam Apr 10, 2024
55a93e7
Merge pull request #4487 from leo4life2/main
Dean-YZG Apr 11, 2024
0cffaf8
Merge branch 'main' into main
RubuJam Apr 11, 2024
1756bdd
Improve tw Traditional Chinese locale
PeterDaveHello Apr 11, 2024
ee15c14
feat: fix webdav 逻辑
Apr 12, 2024
b72d7fb
feat: fix webdav 逻辑2
Apr 12, 2024
55d7014
feat: fix the logtics of client joining webdav url
Apr 12, 2024
af3ebac
Merge pull request #4507 from ChatGPTNextWeb/chore-fix
Dean-YZG Apr 12, 2024
fd8d0a1
feat: fix the logtics of client joining webdav url
Apr 12, 2024
6520f9b
add knowledge cutoff date for gpt-4-turbo-2024-04-09
MrrDrr Apr 12, 2024
aa084ea
add timezone in system prompts
MrrDrr Apr 12, 2024
2322851
perf: avoid read localStorage on every render
SukkaW Apr 14, 2024
d112dc4
Merge pull request #4500 from PeterDaveHello/locale-tw-cht
Dean-YZG Apr 15, 2024
e2c0d2a
Merge pull request #4509 from MrrDrr/add_knowledge_cutoff
Dean-YZG Apr 15, 2024
f742a7e
Merge pull request #4510 from MrrDrr/add_timezone_in_system_prompts
Dean-YZG Apr 15, 2024
51f7daa
Merge pull request #4514 from SukkaW/fix-ls-performance
Dean-YZG Apr 15, 2024
1e2a662
Merge pull request #4412 from RubuJam/main
Dean-YZG Apr 15, 2024
9564b26
Update constant.ts
Algorithm5838 Apr 15, 2024
ad80153
Merge pull request #4520 from Algorithm5838/refactor-models
Dean-YZG Apr 16, 2024
fb8b8d2
feat: (1) fix issues/4335 and issues/4518
Apr 16, 2024
9b2cb1e
Merge pull request #4525 from ChatGPTNextWeb/chore-fix
Dean-YZG Apr 16, 2024
fcb1a65
Update constant.ts
RubuJam Apr 17, 2024
b7aab3c
Update google.ts
RubuJam Apr 17, 2024
c96e4b7
feat: Support a way to define default model by adding DEFAULT_MODEL env.
jalr4ever Apr 19, 2024
1cd0beb
chore: No outline when element is in `:focus-visible` state
RoyRao2333 Apr 23, 2024
dd4648e
remove max_tokens from the official version of gpt4-turbo
MrrDrr Apr 24, 2024
9aec3b7
Merge pull request #4545 from jalr4ever/main-default-model-env
Dean-YZG Apr 25, 2024
7d647c9
Merge pull request #4535 from RubuJam/main
Dean-YZG Apr 25, 2024
69642fb
Merge pull request #4557 from RoyRao2333/dev/no-fucos-outline
Dean-YZG Apr 25, 2024
506c17a
Merge pull request #4564 from MrrDrr/gpt4v_remove_max_tokens
Dean-YZG Apr 25, 2024
b2e8a1e
feat: bump version code
fred-bf Apr 30, 2024
52312db
Merge pull request #4595 from ChatGPTNextWeb/feat/bump-version
fred-bf Apr 30, 2024
4cd9437
fix i think
rooben-me May 3, 2024
9cd3358
this is the fix
rooben-me May 3, 2024
9d728ec
this is ti
rooben-me May 3, 2024
6fc7c50
this
rooben-me May 3, 2024
7b61d05
new fix
rooben-me May 3, 2024
a103582
fix
rooben-me May 3, 2024
1da7d81
Fix cloud data sync issue with Upstash (#4563)
rooben-me May 3, 2024
8ef2617
Removed spaces
rooben-me May 3, 2024
b3e856d
feat: fix 1)the property named 'role' of the first message must be 'u…
May 6, 2024
a1493bf
feat: bugfix
May 6, 2024
58c0d3e
Merge pull request #4625 from ChatGPTNextWeb/chore-fix
Dean-YZG May 6, 2024
864529c
feat: googleApiKey & anthropicApiKey support setting multi-key
May 6, 2024
3513c68
Merge pull request #4626 from ChatGPTNextWeb/chore-fix
Dean-YZG May 7, 2024
cd48f7e
chore(deps): bump next from 13.4.9 to 14.1.1
dependabot[bot] May 10, 2024
212ae76
Merge pull request #4610 from rooben-me/fix-sync
Dean-YZG May 13, 2024
c10447d
feat: 1)upload image with type 'heic' 2)change the empty message to …
May 13, 2024
d3131d2
Fix typo for "OpenAI Endpoint" in the en locale
DmitrySandalov May 13, 2024
2d1f0c9
feat: support env var DEFAULT_INPUT_TEMPLATE to custom default templa…
May 13, 2024
9d7ce20
feat: support env var DEFAULT_INPUT_TEMPLATE to custom default templa…
May 13, 2024
8ec7212
Merge pull request #4670 from DmitrySandalov/patch-1
Dean-YZG May 13, 2024
6b30e16
Merge pull request #4647 from ChatGPTNextWeb/dependabot/npm_and_yarn/…
Dean-YZG May 13, 2024
fffbee8
Merge remote-tracking branch 'origin/main' into chore-fix
May 13, 2024
ef5f910
support gpt-4o
leo4life2 May 13, 2024
5df8b1d
fix: revert gpt-4-turbo-preview detection
fred-bf May 14, 2024
9faab96
Merge pull request #4674 from leo4life2/main
fred-bf May 14, 2024
3a007e4
feat: bump version
fred-bf May 14, 2024
cf635a5
Merge pull request #4684 from ChatGPTNextWeb/fred-bf-patch-4
fred-bf May 14, 2024
d411159
Dockerfile: Listen to any addresses instead of localhost, fixes #4682
ReeseWang May 14, 2024
6612550
feat: support gemini flash
fred-bf May 15, 2024
0bf758a
Merge pull request #4702 from ChatGPTNextWeb/feat/gemini-flash
fred-bf May 15, 2024
4789a7f
feat: add gemini flash into vision model list
fred-bf May 15, 2024
0eccb54
Merge branch 'main' into feat/gemini-flash
fred-bf May 15, 2024
1e00c89
Merge pull request #4703 from ChatGPTNextWeb/feat/gemini-flash
fred-bf May 15, 2024
cf29a8f
chore: custom node listen address by `--host` flag
fred-bf May 15, 2024
8688842
gpt-4o as vision model
leo4life2 May 15, 2024
bffd9d9
Merge pull request #4706 from leo4life2/patch-1
fred-bf May 16, 2024
e58cb2b
chore: wrap the node command flag
fred-bf May 16, 2024
48d44ec
Merge branch 'main' into chore-fix
fred-bf May 16, 2024
0aa807d
feat: remove empty memoryPrompt in ChatMessages
May 16, 2024
01c9dbc
Merge remote-tracking branch 'origin/main' into gpt-4o
Kivi1998 May 16, 2024
f55f04a
Merge pull request #4671 from ChatGPTNextWeb/chore-fix
Dean-YZG May 16, 2024
bfdb47a
ChatGPT Logo
Kivi1998 May 16, 2024
7f3516f
Merge branch 'main' into chatGPT
Kivi1998 May 16, 2024
22ef3d3
update translation
zhz8951 May 19, 2024
c3e2f3b
Merge pull request #4732 from zhz8951/main
Dean-YZG May 20, 2024
754acd7
Merge pull request #4710 from Kivi1998/chatGPT
Dean-YZG May 20, 2024
d89a12a
Revert "Chat gpt"
Dean-YZG May 20, 2024
de11112
Merge pull request #4743 from ChatGPTNextWeb/revert-4710-chatGPT
Dean-YZG May 20, 2024
3866448
Merge pull request #4689 from ReeseWang/main
fred-bf May 22, 2024
bf3bc3c
fix: make env PROXY_URL avaliable in Docker container.
shawn-mxi-ai May 24, 2024
f3b972e
Fix web url
josephrocca May 27, 2024
da2e237
Merge pull request #4771 from yangxiang92/main
Dean-YZG May 27, 2024
1d8fd48
Add new Teracloud domain
junxian-li-hpc Jun 6, 2024
b6735bf
Merge pull request #4826 from junxian-li-hpc/fix-webdav
fred-bf Jun 7, 2024
163fc9e
fix someone forgot to update license year to 2024
ImBIOS Jun 14, 2024
9b0a705
Update LICENSE
ImBIOS Jun 14, 2024
6efe4fb
chore(app/layout.tsx): fix deprecated viewport nextjs 14
ImBIOS Jun 16, 2024
4640060
feat: support model: claude-3-5-sonnet-20240620
hengstchon Jun 21, 2024
78e7ea7
Merge pull request #4869 from hengstchon/feat/models
fred-bf Jun 24, 2024
9fb8fbc
fix: validate the url to avoid SSRF
fred-bf Jun 24, 2024
dad1221
Merge pull request from GHSA-gph5-rx77-3pjg
fred-bf Jun 24, 2024
2074935
Merge pull request #4841 from ImBIOS/patch-1
fred-bf Jun 24, 2024
b972a0d
feat: bump version
fred-bf Jun 24, 2024
95e3b15
Update Dockerfile
fred-bf Jun 26, 2024
c359b30
Merge pull request #4891 from ChatGPTNextWeb/fred-bf-patch-4
fred-bf Jun 26, 2024
d65ddea
fix: anthropic client using common getHeaders
lloydzhou Jul 1, 2024
37e2517
fix: 1. anthropic client using common getHeaders; 2. always using `Au…
lloydzhou Jul 1, 2024
ce3b6a0
Merge pull request #4782 from josephrocca/patch-1
lloydzhou Jul 1, 2024
69974d5
gemini using real sse format response #3677 #3688
lloydzhou Jul 1, 2024
c4ad66f
remove console.log
lloydzhou Jul 1, 2024
501f8b0
Merge pull request #4903 from ConnectAI-E/fix-claude-get-headers
lloydzhou Jul 3, 2024
78e2b41
Merge pull request #4906 from ConnectAI-E/feature-gemini-streaming
lloydzhou Jul 3, 2024
88c74ae
feat: using fetch to get buildin masks
lloydzhou Jul 3, 2024
1609abd
fix ts
lloydzhou Jul 3, 2024
cf2fce7
Merge pull request #4917 from ConnectAI-E/feature-make-mask-outsite
lloydzhou Jul 3, 2024
2803a91
readme 添加 DEFAULT_MODEL 参数 (#4915)
ccoc-cc Jul 3, 2024
e7b16bf
add function to check model is available
lloydzhou Jul 4, 2024
14f2a8f
merge model with modelName and providerName
lloydzhou Jul 4, 2024
b9ffd50
using <modelName>@<providerName> as fullName in modelTable
lloydzhou Jul 4, 2024
7a5596b
hotfix
lloydzhou Jul 4, 2024
aa08183
hotfix
lloydzhou Jul 4, 2024
a68341e
include providerId in fullName
lloydzhou Jul 4, 2024
97aa72e
hotfix ts
lloydzhou Jul 4, 2024
8cb204e
refactor: get language (#4922)
lloydzhou Jul 4, 2024
31d9444
hotfix
lloydzhou Jul 4, 2024
c4a6c93
Merge pull request #4923 from ConnectAI-E/refactor-model-table
Dogtiti Jul 4, 2024
1c20137
support azure deployment name
lloydzhou Jul 5, 2024
6b1b530
remove makeAzurePath
lloydzhou Jul 5, 2024
d9758be
fix ts
lloydzhou Jul 5, 2024
183ad2a
add missing file
lloydzhou Jul 5, 2024
14bc1b6
chore: optimize the code
Dogtiti Jul 5, 2024
6dc4844
using default azure api-version value
lloydzhou Jul 5, 2024
70907ea
Merge pull request #4850 from ImBIOS/patch-2
Dogtiti Jul 5, 2024
0b2863d
Improve tw Traditional Chinese locale
PeterDaveHello May 12, 2024
2d1f522
Merge pull request #4930 from ConnectAI-E/feature-azure
Dogtiti Jul 6, 2024
b58bbf8
feat: optimize getHeaders
Dogtiti Jul 6, 2024
700b06f
feat: optimize getHeaders
Dogtiti Jul 6, 2024
5e0657c
feat: add getClientApi method
Dogtiti Jul 6, 2024
785d374
feat: support baidu model
Dogtiti Jul 6, 2024
9b3b449
wip: doubao
Dogtiti Jul 6, 2024
fa31e78
Merge pull request #4935 from ConnectAI-E/feature/get-client-api
lloydzhou Jul 6, 2024
7218f13
Merge pull request #4934 from ConnectAI-E/feature/client-headers
lloydzhou Jul 6, 2024
9f7d137
Merge branch 'main' of https://github.com/ConnectAI-E/ChatGPT-Next-We…
Dogtiti Jul 6, 2024
2ec8b7a
Merge branch 'main' of https://github.com/ConnectAI-E/ChatGPT-Next-We…
Dogtiti Jul 6, 2024
f3e3f08
fix: apiClient
Dogtiti Jul 6, 2024
1caa61f
feat: swap name and displayName for bytedance in custom models
Dogtiti Jul 6, 2024
9bdd37b
feat: qwen
Dogtiti Jul 7, 2024
15f028a
update macOS icon to be consistent with design in public/macos.png
billxc Jul 8, 2024
71af262
hotfix: old AZURE_URL config error: "DeploymentNotFound". #4945 #4930
lloydzhou Jul 8, 2024
34ab37f
update CUSTOM_MODELS config for Azure mode.
lloydzhou Jul 8, 2024
6ac9789
hotfix
lloydzhou Jul 9, 2024
f68cd2c
review code
lloydzhou Jul 9, 2024
011b76e
review code
lloydzhou Jul 9, 2024
fadd7f6
try getAccessToken in app, fixbug to fetch in none stream mode
lloydzhou Jul 9, 2024
5295802
Merge pull request #4953 from ConnectAI-E/hotfix/azure-deployment-not…
lloydzhou Jul 9, 2024
b14a0f2
update locales
lloydzhou Jul 9, 2024
230e382
update readme
lloydzhou Jul 9, 2024
93a03f8
Merge remote-tracking branch 'origin/main' into feat-baidu
lloydzhou Jul 9, 2024
147fc9a
fix ts type error
lloydzhou Jul 9, 2024
f2a35f1
add missing file
lloydzhou Jul 9, 2024
47ea383
Merge pull request #4936 from ConnectAI-E/feat-baidu
lloydzhou Jul 9, 2024
c229d2c
merge main
lloydzhou Jul 9, 2024
b302354
update
lloydzhou Jul 9, 2024
9d7e19c
display doubao model name when select model
lloydzhou Jul 9, 2024
1149d45
remove check vision model
lloydzhou Jul 9, 2024
9d2a633
更新文档支持配置豆包的模型
lloydzhou Jul 9, 2024
82be426
fix eslint error
lloydzhou Jul 9, 2024
bb349a0
fix get headers for bytedance
lloydzhou Jul 9, 2024
2387208
merge code
lloydzhou Jul 9, 2024
3628d68
update
lloydzhou Jul 9, 2024
7573a19
add custom settings
lloydzhou Jul 9, 2024
3fcbb30
Merge branch 'feature/ByteDance' into feature/alibaba
lloydzhou Jul 9, 2024
e3b3a4f
add custom settings
lloydzhou Jul 9, 2024
814aaa4
update config for alibaba(qwen)
lloydzhou Jul 9, 2024
cd4784c
update
lloydzhou Jul 9, 2024
044c16d
update
lloydzhou Jul 9, 2024
94bc91c
Merge pull request #4939 from ConnectAI-E/feature/ByteDance
lloydzhou Jul 9, 2024
844025e
Merge pull request #4942 from ConnectAI-E/feature/alibaba
lloydzhou Jul 9, 2024
6885812
hotfix Gemini finish twice. #4955 #4966
lloydzhou Jul 10, 2024
ba6039f
Merge pull request #4968 from ConnectAI-E/hotfix/google
lloydzhou Jul 10, 2024
32b82b9
change build messages for qwen in client
lloydzhou Jul 10, 2024
2299a41
change build messages for qwen in client
lloydzhou Jul 10, 2024
fec36eb
hotfix
lloydzhou Jul 11, 2024
f8c2732
Merge pull request #4971 from ConnectAI-E/hotfix/alibaba
Dogtiti Jul 11, 2024
5e7254e
hotfix: doubao display name
lloydzhou Jul 11, 2024
89049e1
Merge pull request #4974 from ConnectAI-E/hotfix/bytedance
Dogtiti Jul 11, 2024
728c383
support cloudflare ai gateway
lloydzhou Jul 12, 2024
9d1b13b
Merge pull request #4933 from PeterDaveHello/locale-tw
LiuElric Jul 12, 2024
59d9bcd
Merge pull request #4946 from billxc/fix_mac_large_icon
LiuElric Jul 12, 2024
e8088d6
Merge pull request #4979 from ConnectAI-E/hotfix/cf-ai-gateway
Dogtiti Jul 12, 2024
9203870
hotfix: using custom models, create custom provider
lloydzhou Jul 12, 2024
4ea8c08
Merge pull request #4986 from ConnectAI-E/hotfix/cf-ai-gateway
LiuElric Jul 12, 2024
9b97dca
hotfix: custom comfig for Gemini api. #4944
lloydzhou Jul 12, 2024
8316272
update
lloydzhou Jul 12, 2024
476bdac
update
lloydzhou Jul 12, 2024
b4ae706
Merge pull request #4988 from ConnectAI-E/hotfix/cf-ai-gateway
lloydzhou Jul 12, 2024
46d3e78
hotfix: bytedance custom models
lloydzhou Jul 12, 2024
53c1176
update labels in setting page
lloydzhou Jul 12, 2024
8e4d261
Merge pull request #4989 from ConnectAI-E/hotfix/cf-ai-gateway
LiuElric Jul 12, 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
14 changes: 14 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"presets": [
[
"next/babel",
{
"preset-env": {
"targets": {
"browsers": ["> 0.25%, not dead"]
}
}
}
]
]
}
97 changes: 97 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Node.js dependencies
/node_modules
/jspm_packages

# TypeScript v1 declaration files
typings

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.test

# local env files
.env*.local

# Next.js build output
.next
out

# Nuxt.js build output
.nuxt
dist

# Gatsby files
.cache/


# Vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# Temporary folders
tmp
temp

# IDE and editor directories
.idea
.vscode
*.swp
*.swo
*~

# OS generated files
.DS_Store
Thumbs.db

# secret key
*.key
*.key.pub
41 changes: 35 additions & 6 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,62 @@
# Your openai api key. (required)
OPENAI_API_KEY=sk-xxxx

# Access passsword, separated by comma. (optional)
# Access password, separated by comma. (optional)
CODE=your-password

# You can start service behind a proxy
PROXY_URL=http://localhost:7890

# (optional)
# Default: Empty
# Googel Gemini Pro API key, set if you want to use Google Gemini Pro API.
GOOGLE_API_KEY=

# (optional)
# Default: https://generativelanguage.googleapis.com/
# Googel Gemini Pro API url without pathname, set if you want to customize Google Gemini Pro API url.
GOOGLE_URL=

# Override openai api request base url. (optional)
# Default: https://api.openai.com
# Examples: http://your-openai-proxy.com
BASE_URL=

# Specify OpenAI organization ID.(optional)
# Default: Empty
# If you do not want users to input their own API key, set this value to 1.
OPENAI_ORG_ID=

# (optional)
# Default: Empty
# If you do not want users to use GPT-4, set this value to 1.
DISABLE_GPT4=

# (optional)
# Default: Empty
# If you do not want users to input their own API key, set this value to 1.
HIDE_USER_API_KEY=

# (optional)
# Default: Empty
# If you do not want users to use GPT-4, set this value to 1.
DISABLE_GPT4=
# If you do want users to query balance, set this value to 1.
ENABLE_BALANCE_QUERY=

# (optional)
# Default: Empty
# If you do not want users to query balance, set this value to 1.
HIDE_BALANCE_QUERY=
# If you want to disable parse settings from url, set this value to 1.
DISABLE_FAST_LINK=


# anthropic claude Api Key.(optional)
ANTHROPIC_API_KEY=

### anthropic claude Api version. (optional)
ANTHROPIC_API_VERSION=



### anthropic claude Api url (optional)
ANTHROPIC_URL=

### (optional)
WHITE_WEBDEV_ENDPOINTS=
43 changes: 0 additions & 43 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

146 changes: 146 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
name: Bug report
description: Create a report to help us improve
title: "[Bug] "
labels: ["bug"]

body:
- type: markdown
attributes:
value: "## Describe the bug"
- type: textarea
id: bug-description
attributes:
label: "Bug Description"
description: "A clear and concise description of what the bug is."
placeholder: "Explain the bug..."
validations:
required: true

- type: markdown
attributes:
value: "## To Reproduce"
- type: textarea
id: steps-to-reproduce
attributes:
label: "Steps to Reproduce"
description: "Steps to reproduce the behavior:"
placeholder: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true

- type: markdown
attributes:
value: "## Expected behavior"
- type: textarea
id: expected-behavior
attributes:
label: "Expected Behavior"
description: "A clear and concise description of what you expected to happen."
placeholder: "Describe what you expected to happen..."
validations:
required: true

- type: markdown
attributes:
value: "## Screenshots"
- type: textarea
id: screenshots
attributes:
label: "Screenshots"
description: "If applicable, add screenshots to help explain your problem."
placeholder: "Paste your screenshots here or write 'N/A' if not applicable..."
validations:
required: false

- type: markdown
attributes:
value: "## Deployment"
- type: checkboxes
id: deployment
attributes:
label: "Deployment Method"
description: "Please select the deployment method you are using."
options:
- label: "Docker"
- label: "Vercel"
- label: "Server"

- type: markdown
attributes:
value: "## Desktop (please complete the following information):"
- type: input
id: desktop-os
attributes:
label: "Desktop OS"
description: "Your desktop operating system."
placeholder: "e.g., Windows 10"
validations:
required: false
- type: input
id: desktop-browser
attributes:
label: "Desktop Browser"
description: "Your desktop browser."
placeholder: "e.g., Chrome, Safari"
validations:
required: false
- type: input
id: desktop-version
attributes:
label: "Desktop Browser Version"
description: "Version of your desktop browser."
placeholder: "e.g., 89.0"
validations:
required: false

- type: markdown
attributes:
value: "## Smartphone (please complete the following information):"
- type: input
id: smartphone-device
attributes:
label: "Smartphone Device"
description: "Your smartphone device."
placeholder: "e.g., iPhone X"
validations:
required: false
- type: input
id: smartphone-os
attributes:
label: "Smartphone OS"
description: "Your smartphone operating system."
placeholder: "e.g., iOS 14.4"
validations:
required: false
- type: input
id: smartphone-browser
attributes:
label: "Smartphone Browser"
description: "Your smartphone browser."
placeholder: "e.g., Safari"
validations:
required: false
- type: input
id: smartphone-version
attributes:
label: "Smartphone Browser Version"
description: "Version of your smartphone browser."
placeholder: "e.g., 14"
validations:
required: false

- type: markdown
attributes:
value: "## Additional Logs"
- type: textarea
id: additional-logs
attributes:
label: "Additional Logs"
description: "Add any logs about the problem here."
placeholder: "Paste any relevant logs here..."
validations:
required: false
20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

Loading