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

[pull] main from ChatGPTNextWeb:main #4

Open
wants to merge 870 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
870 commits
Select commit Hold shift + click to select a range
7df308d
Merge remote-tracking branch 'connectai/main' into feature/using-taur…
lloydzhou Sep 29, 2024
b5f6e5a
update
lloydzhou Sep 29, 2024
5141145
revert plugin runtime using tarui/api/http, not using fetch_stream
lloydzhou Sep 29, 2024
a50c282
remove DEFAULT_API_HOST
lloydzhou Sep 29, 2024
9be58f3
fix ts error
lloydzhou Sep 29, 2024
3c01738
update
lloydzhou Sep 29, 2024
b174a40
update
lloydzhou Sep 29, 2024
af49ed4
update
lloydzhou Sep 29, 2024
f42488d
using stream fetch replace old tauri http fetch
lloydzhou Sep 29, 2024
8030e71
update
lloydzhou Sep 29, 2024
ef4665c
update
lloydzhou Sep 29, 2024
6293b95
update default api base url
lloydzhou Sep 30, 2024
b6d9ba9
update
lloydzhou Sep 30, 2024
edfa6d1
update
lloydzhou Sep 30, 2024
0c697e1
Merge pull request #5564 from code-october/fix/html-code
lloydzhou Sep 30, 2024
7173cf2
update
lloydzhou Sep 30, 2024
deb215c
fix readme
mayfwl Sep 30, 2024
d2984db
fix readme
mayfwl Sep 30, 2024
cea5b91
Merge pull request #5567 from ChatGPTNextWeb/fix-readme
lloydzhou Sep 30, 2024
35e03e1
remove code
lloydzhou Sep 30, 2024
3029dcb
hotfix for run plugin call post api
lloydzhou Sep 30, 2024
fd3568c
hotfix for run plugin call post api
lloydzhou Sep 30, 2024
d830c23
hotfix for run plugin call post api
lloydzhou Sep 30, 2024
9531140
add connect timeout
lloydzhou Oct 1, 2024
9c577ad
hotfix for plugin runtime
lloydzhou Oct 1, 2024
919ee51
hover show errorMsg when plugin run error
lloydzhou Oct 1, 2024
d51d31a
update
lloydzhou Oct 1, 2024
fbb66a4
use safe equal operation
code-october Oct 3, 2024
05e6e4b
Merge pull request #5578 from code-october/fix/safe-equal
lloydzhou Oct 3, 2024
450766a
google gemini support function call
lloydzhou Oct 3, 2024
65f80f8
Merge branch 'main' into dean-delete-escapeDollarNumber
lloydzhou Oct 4, 2024
2bac174
Merge pull request #4393 from ChatGPTNextWeb/dean-delete-escapeDollar…
Dogtiti Oct 6, 2024
cd75461
fix: correct typo in variable name from ALLOWD_PATH to ALLOWED_PATH
little-huang Oct 7, 2024
461154b
fix: format package
Dogtiti Oct 8, 2024
acf9fa3
Merge branch 'main' of https://github.com/ConnectAI-E/ChatGPT-Next-We…
Dogtiti Oct 8, 2024
8ad63a6
Merge pull request #5586 from little-huang/patch-1
Dogtiti Oct 8, 2024
7d55a6d
feat: allow send image only
Dogtiti Oct 8, 2024
77a58bc
i18n: improve tw Traditional Chinese locale
PeterDaveHello Oct 8, 2024
6c1cbe1
update
lloydzhou Oct 9, 2024
5b4d423
Merge pull request #5565 from ConnectAI-E/feature/using-tauri-fetch
lloydzhou Oct 9, 2024
a925b42
fix compressModel, related #5426, fix #5606 #5603 #5575
lloydzhou Oct 9, 2024
93ca303
fix ts error
lloydzhou Oct 9, 2024
cbdc611
Merge pull request #5607 from ConnectAI-E/hotfix/summarize-model
lloydzhou Oct 9, 2024
c0c8cdb
fix: [#5574] 文档错误
DDMeaqua Oct 9, 2024
4e9bb51
Update README.md
ElricLiu Oct 9, 2024
acad5b1
Merge pull request #5609 from ElricLiu/main
lloydzhou Oct 9, 2024
1dac02e
Update README.md
lloydzhou Oct 9, 2024
b67a232
Merge pull request #5610 from ChatGPTNextWeb/lloydzhou-patch-1
lloydzhou Oct 9, 2024
19b42aa
Merge pull request #5608 from ConnectAI-E/fix-readme
lloydzhou Oct 9, 2024
3e63d40
update
lloydzhou Oct 9, 2024
96273fd
Merge pull request #5611 from ConnectAI-E/feature/tauri-fetch-update
lloydzhou Oct 9, 2024
4ae34ea
merge main
lloydzhou Oct 9, 2024
fbc68fa
Merge pull request #5602 from PeterDaveHello/ImproveTwLocale
lloydzhou Oct 9, 2024
268cf3b
hotfix plugin result is not string #5614
lloydzhou Oct 10, 2024
63ab83c
Merge pull request #5621 from ConnectAI-E/hotfix/plugin-result
lloydzhou Oct 10, 2024
ba58018
Merge pull request #5211 from ConnectAI-E/feature/jest
lloydzhou Oct 10, 2024
c5074f0
Merge pull request #5581 from ConnectAI-E/feature/gemini-functioncall
lloydzhou Oct 10, 2024
2eebfcf
client app tauri updater #2966
lloydzhou Oct 11, 2024
bd9de4d
fix version compare
lloydzhou Oct 11, 2024
a0d4a04
update
lloydzhou Oct 11, 2024
be98aa2
chore: improve test
Dogtiti Oct 11, 2024
bd43af3
chore: cache node_modules
Dogtiti Oct 11, 2024
c98dc31
优化访问码输入框
code-october Oct 11, 2024
4a7fd3a
优化首页 api 输入框
code-october Oct 11, 2024
c139038
Merge pull request #5639 from code-october/fix/auth-ui
lloydzhou Oct 11, 2024
6792d6e
支持前端使能/禁用代码折叠
code-october Oct 11, 2024
8fd843d
参考coderabbitai建议规范代码
code-october Oct 11, 2024
4a1319f
代码安全优化
code-october Oct 11, 2024
d18bd8a
Merge pull request #5640 from code-october/feature/enableCodeFold
Dogtiti Oct 11, 2024
ad49916
Merge pull request #5638 from ConnectAI-E/chore/test-action
Dogtiti Oct 11, 2024
819238a
fix: i18n
Dogtiti Oct 11, 2024
9961b51
fix: sidebar style
Dogtiti Oct 12, 2024
8d2003f
Merge pull request #5644 from ConnectAI-E/fix/siderbar-style
Dogtiti Oct 12, 2024
7f68fb1
修改“压缩模型”名称,增加“生成对话标题”的功能提示
code-october Oct 12, 2024
a84383f
Merge pull request #5647 from code-october/fix/setting-locale
Dogtiti Oct 12, 2024
b016771
Merge pull request #5599 from ConnectAI-E/feature/allow-send-image-only
lloydzhou Oct 14, 2024
12e7caa
fix 默认超时时间改为3分钟,支持o1-mini
ccq18 Oct 14, 2024
592f620
仅修改o1的超时时间为4分钟,减少o1系列模型请求失败的情况
ccq18 Oct 14, 2024
8c39a68
update deploy_preview run target
lloydzhou Oct 14, 2024
e34c266
Merge pull request #5660 from ChatGPTNextWeb/remove-pr-preview
lloydzhou Oct 14, 2024
c25903b
Merge pull request #5658 from ccq18/main
lloydzhou Oct 14, 2024
2419083
Merge remote-tracking branch 'connectai/main' into feature/H0llyW00dz…
lloydzhou Oct 14, 2024
103106b
update test run target
lloydzhou Oct 14, 2024
370f143
Merge pull request #5661 from ChatGPTNextWeb/remove-pr-preview
lloydzhou Oct 14, 2024
426269d
Merge remote-tracking branch 'connectai/main' into feature/H0llyW00dz…
lloydzhou Oct 14, 2024
7f454cb
Bump @types/jest from 29.5.12 to 29.5.13
dependabot[bot] Oct 14, 2024
22f83c9
Merge pull request #5666 from ChatGPTNextWeb/dependabot/npm_and_yarn/…
Dogtiti Oct 14, 2024
87d85c1
update
lloydzhou Oct 14, 2024
cda4494
Merge pull request #5632 from ConnectAI-E/feature/H0llyW00dzZ-updater
Dogtiti Oct 15, 2024
463fa74
update version
lloydzhou Oct 15, 2024
deb1e76
fix: use tauri fetch
Dogtiti Oct 16, 2024
06f897f
Merge pull request #5679 from ConnectAI-E/fix/fetch
lloydzhou Oct 16, 2024
8455fef
add xai
lloydzhou Oct 23, 2024
e791cd4
add xai
lloydzhou Oct 23, 2024
65bb962
hotfix
lloydzhou Oct 23, 2024
c7c2c02
Merge pull request #5704 from ConnectAI-E/feature/xai
Dogtiti Oct 23, 2024
801dc41
add claude-3.5-haiku
lloydzhou Oct 24, 2024
4745706
update version to v2.15.6
lloydzhou Oct 24, 2024
e3ca7e8
hotfix for statusText is non ISO-8859-1 #5717
lloydzhou Oct 25, 2024
2c74559
hitfix
lloydzhou Oct 25, 2024
90ced92
update
lloydzhou Oct 25, 2024
f89872b
hotfix for gemini invald argument #5715
lloydzhou Oct 25, 2024
f0b3e10
hotfix for gemini invald argument #5715
lloydzhou Oct 25, 2024
1110a08
Merge pull request #5720 from ConnectAI-E/hotfix/gemini_invald_argument
Dogtiti Oct 25, 2024
8299484
Merge pull request #5719 from ConnectAI-E/hotfix/status_text_error
lloydzhou Oct 25, 2024
45db20c
Update README.md
ElricLiu Oct 26, 2024
4f49626
Merge pull request #5722 from ElricLiu/main
lloydzhou Oct 26, 2024
49d42bb
chore: improve jest
Dogtiti Oct 28, 2024
a4d7a2c
Bump @testing-library/jest-dom from 6.4.8 to 6.6.2
dependabot[bot] Oct 28, 2024
24df85c
Bump @types/jest from 29.5.13 to 29.5.14
dependabot[bot] Oct 28, 2024
6d93d37
Merge pull request #5732 from ChatGPTNextWeb/dependabot/npm_and_yarn/…
Dogtiti Oct 28, 2024
56bc77d
Merge pull request #5731 from ChatGPTNextWeb/dependabot/npm_and_yarn/…
Dogtiti Oct 28, 2024
89cea18
Merge branch 'main' of https://github.com/ConnectAI-E/ChatGPT-Next-We…
Dogtiti Oct 29, 2024
613d67e
Merge pull request #5729 from ConnectAI-E/feature/jest
Dogtiti Oct 29, 2024
736cbdb
add constant to claude 3.5 sonnet 20241022
hyiip Oct 29, 2024
b0d28eb
Merge branch 'main' into main
endless-learner Oct 29, 2024
86ffa1e
feat: 新增阿里系模型代码配置
yuxuan-ctrl Oct 30, 2024
d0bd1bf
Merge pull request #5740 from yuxuan-ctrl/main
lloydzhou Oct 30, 2024
d357b45
feat: [#5714] 支持GLM
DDMeaqua Oct 30, 2024
a0fa4d7
Merge pull request #5737 from hyiip/claude3.5
Dogtiti Oct 30, 2024
7c466c9
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user Oct 31, 2024
44383a8
add claude-3-5-sonnet-latest and claude-3-opus-latest
mrcore Oct 31, 2024
0581e37
Merge pull request #5744 from mrcore/main
Dogtiti Oct 31, 2024
d3f0a77
chore: update Provider
DDMeaqua Oct 31, 2024
7a8d557
chore: 开启插件
DDMeaqua Oct 31, 2024
adf97c6
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user Nov 1, 2024
afe12c2
chore: update
DDMeaqua Nov 1, 2024
36bfa2e
Merge pull request #5741 from ConnectAI-E/feat-glm
Dogtiti Nov 1, 2024
4d75b23
fix: ts error
DDMeaqua Nov 1, 2024
d66bfc6
Merge pull request #5752 from ConnectAI-E/feat-glm
Dogtiti Nov 1, 2024
17d5209
add bt install doc
Nov 1, 2024
106ddc1
fix
Nov 1, 2024
c2c52a1
fix
Nov 1, 2024
fb2c155
fix
Nov 1, 2024
fbb7a1e
fix
Nov 1, 2024
fe8cca3
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user Nov 2, 2024
2d3f7c9
fix: vision model dalle3
Dogtiti Oct 16, 2024
44fc5b5
fix: onfinish responseRes
Dogtiti Nov 4, 2024
5733e3c
Merge pull request #5759 from ConnectAI-E/feature/onfinish
Dogtiti Nov 4, 2024
4b93370
chore(deps-dev): bump @testing-library/react from 16.0.0 to 16.0.1
dependabot[bot] Nov 4, 2024
e49466f
feat: update real 'currentSession'
Dogtiti Nov 4, 2024
686a80e
Merge pull request #5764 from ChatGPTNextWeb/dependabot/npm_and_yarn/…
Dogtiti Nov 4, 2024
aef535f
Merge pull request #5753 from ChatGPTNextWeb/feat-bt-doc
Dogtiti Nov 4, 2024
4d39497
merge main
lloydzhou Nov 4, 2024
0dc4071
Merge pull request #5464 from endless-learner/main
lloydzhou Nov 4, 2024
a6c1eb2
add claude 3.5 haiku
lloydzhou Nov 5, 2024
820ab54
Merge pull request #5766 from ConnectAI-E/feature/add-claude-haiku3.5
Dogtiti Nov 5, 2024
0ec4233
chore: update readme
DDMeaqua Nov 5, 2024
14f7519
Merge pull request #5767 from ConnectAI-E/feat-glm
Dogtiti Nov 5, 2024
e49fe97
Merge pull request #5765 from ConnectAI-E/feature/onfinish
lloydzhou Nov 5, 2024
b844045
Custom model names can include the `@` symbol by itself.
ryanhex53 Nov 5, 2024
00d6cb2
update version
lloydzhou Nov 5, 2024
8e2484f
Refactor: Replace all provider split occurrences with getModelProvide…
ryanhex53 Nov 5, 2024
f3603e5
Merge pull request #5769 from ryanhex53/fix-model-multi@
Dogtiti Nov 6, 2024
c4e19db
fix: updateCurrentSession => updateTargetSession
Dogtiti Nov 6, 2024
106461a
Merge branch 'main' of https://github.com/ConnectAI-E/ChatGPT-Next-We…
Dogtiti Nov 6, 2024
f526d6f
Merge pull request #5774 from ConnectAI-E/feature/update-target-session
lloydzhou Nov 6, 2024
3086a2f
add claude35haiku not vision
OPChips Nov 6, 2024
adf7d82
fix: glm chatpath
DDMeaqua Nov 6, 2024
f4c9410
Merge pull request #5776 from ConnectAI-E/feat-glm
lloydzhou Nov 6, 2024
85cdcab
fix: botMessage reply date
Dogtiti Nov 6, 2024
6ded4e9
Merge pull request #5778 from ConnectAI-E/fix/5436
lloydzhou Nov 6, 2024
6667ee1
merge main
OPChips Nov 6, 2024
e0bbb8b
style: improve classname by clsx
Dogtiti Nov 6, 2024
64aa760
update claude rank
OPChips Nov 6, 2024
18144c3
chore: clsx
Dogtiti Nov 6, 2024
fbb9385
Merge pull request #5782 from ConnectAI-E/style/classname
lloydzhou Nov 6, 2024
d544eea
feat: realtime chat ui
Dogtiti Nov 6, 2024
f6e1f83
wip
Dogtiti Nov 6, 2024
a494152
feat: audio to message
Dogtiti Nov 6, 2024
cf46d5a
upload response audio, and update audio_url to session message
lloydzhou Nov 6, 2024
5226278
upload save wav file logic
lloydzhou Nov 7, 2024
db060d7
upload save record wav file
lloydzhou Nov 7, 2024
8deb7a9
hotfix for update target session
lloydzhou Nov 7, 2024
4988d2e
fix: ts error
Dogtiti Nov 7, 2024
88cd3ac
fix: ts error
Dogtiti Nov 7, 2024
7bdc45e
connect realtime model when open panel
lloydzhou Nov 7, 2024
6f81bb3
add context after connected
lloydzhou Nov 7, 2024
0037b0c
ts error
lloydzhou Nov 7, 2024
c526ff8
update
lloydzhou Nov 7, 2024
c00ebbe
update
lloydzhou Nov 7, 2024
46c469b
add voice config
lloydzhou Nov 7, 2024
b78e5db
add temperature config
lloydzhou Nov 7, 2024
283caba
stop streaming play after get input audio.
lloydzhou Nov 7, 2024
d5bda29
chore: o1模型使用max_completion_tokens
DDMeaqua Nov 7, 2024
108069a
Merge pull request #5788 from ConnectAI-E/fix-o1-maxtokens
lloydzhou Nov 7, 2024
e44ebe3
feat: realtime config
Dogtiti Nov 7, 2024
48a1e8a
chore: i18n
Dogtiti Nov 7, 2024
50e6310
merge code and get analyser data
lloydzhou Nov 8, 2024
a4c9eaf
do not save empty audio file
lloydzhou Nov 8, 2024
8b4ca13
feat: voice print
Dogtiti Nov 8, 2024
89136fb
feat: voice print
Dogtiti Nov 8, 2024
d33e772
feat: voice print
Dogtiti Nov 8, 2024
4629b39
chore: comment context history
Dogtiti Nov 9, 2024
2b0f2e5
fix: built-in plugin dalle3 error #5787
Nov 10, 2024
14f444e
doc: realtime chat
Dogtiti Nov 11, 2024
18a6571
Update proxy.ts
JingSyue Nov 11, 2024
6e03f32
Merge pull request #5795 from JingSyue/main
lloydzhou Nov 11, 2024
f8f6954
Merge pull request #5779 from ConnectAI-E/feature/model/claude35haiku
lloydzhou Nov 11, 2024
7d71da9
remove close-24 svg
lloydzhou Nov 11, 2024
289aeec
Merge pull request #5786 from ConnectAI-E/feature/realtime-chat
lloydzhou Nov 11, 2024
38fa305
update version
lloydzhou Nov 11, 2024
05ef5ad
chore(deps-dev): bump @testing-library/jest-dom from 6.6.2 to 6.6.3
dependabot[bot] Nov 11, 2024
1d14a99
fix: use current session id to trigger rerender
Dogtiti Nov 11, 2024
459c373
Merge pull request #5807 from ChatGPTNextWeb/dependabot/npm_and_yarn/…
Dogtiti Nov 11, 2024
7cf89b5
Merge pull request #5812 from ConnectAI-E/fix/rerender-chat
lloydzhou Nov 12, 2024
8d66fed
Update visionKeywords
LovelyGuYiMeng Nov 12, 2024
819d249
Merge pull request #5815 from LovelyGuYiMeng/main
lloydzhou Nov 12, 2024
9a86c42
update
OPChips Nov 12, 2024
7eda14f
fix: [#5308] gemini对话总结
DDMeaqua Nov 13, 2024
0628ddf
chore: update
DDMeaqua Nov 13, 2024
a392daa
Merge pull request #5816 from ConnectAI-E/feature/artifacts-svg
lloydzhou Nov 13, 2024
b41c012
chore: shouldStream
DDMeaqua Nov 13, 2024
b08ce56
Merge pull request #5819 from ConnectAI-E/fix-gemini-summary
lloydzhou Nov 13, 2024
19facc7
feat: support mort user-friendly scrolling
Sherlocksuper Nov 14, 2024
e562165
fix: 代码块嵌入小代码块时渲染错误
OPChips Nov 15, 2024
f22cec1
Merge pull request #5827 from ConnectAI-E/fix/markdown-embed-codeblock
lloydzhou Nov 15, 2024
a2adfbb
Merge pull request #5821 from Sherlocksuper/scroll
Dogtiti Nov 16, 2024
23350c8
fix o1 in disableGPT4
code-october Nov 21, 2024
ef24d3e
use stream when request o1
code-october Nov 21, 2024
b7acb89
update new model for gpt-4o and gemini-exp
code-october Nov 22, 2024
3932c59
Merge pull request #5861 from code-october/update-model
Dogtiti Nov 22, 2024
2623a92
Merge pull request #5850 from code-october/fix-o1
Dogtiti Nov 25, 2024
759a09a
🎨 style(setting): Place custom-model's input a seperated row.
frostime Nov 27, 2024
83cea3a
Merge pull request #5879 from frostime/textline-custom-model
Dogtiti Nov 28, 2024
1a678cb
fix model leak issue
code-october Nov 29, 2024
e1ac053
add unit test
code-october Nov 30, 2024
54f6feb
update unit test
code-october Nov 30, 2024
cc5e16b
update unit test
code-october Nov 30, 2024
a433d16
feat: use regex patterns for vision models and allow adding capabilit…
Yiming3 Dec 10, 2024
e27e8fb
Update google models
fengzai6 Dec 12, 2024
46a0b10
Update versionKeywords
fengzai6 Dec 13, 2024
e939ce5
面具“以文搜图”改成“AI文生图”,微调提示让图片生成更稳定无水印
InitialXKO Dec 13, 2024
acdded8
chore(deps-dev): bump @testing-library/react from 16.0.1 to 16.1.0
dependabot[bot] Dec 16, 2024
0f04756
Merge pull request #5936 from InitialXKO/main
Dogtiti Dec 20, 2024
4274341
Merge pull request #5940 from ChatGPTNextWeb/dependabot/npm_and_yarn/…
Dogtiti Dec 20, 2024
eceec09
Merge pull request #5932 from fengzai6/update-google-models
Dogtiti Dec 20, 2024
74c4711
Merge remote-tracking branch 'upstream/main' into feature/flexible-vi…
Yiming3 Dec 20, 2024
0a056a7
add gemini-exp-1206, gemini-2.0-flash-thinking-exp-1219
dupl Dec 21, 2024
ed8c358
test: add unit tests for isVisionModel utility function
Yiming3 Dec 21, 2024
93ac0e5
Reorganized the Gemini model
dupl Dec 21, 2024
acc2e97
Merge pull request #5959 from dupl/gemini
Dogtiti Dec 21, 2024
210b29b
refactor: remove NEXT_PUBLIC_ prefix from VISION_MODELS env var
Yiming3 Dec 21, 2024
149d732
Merge remote-tracking branch 'upstream/main' into feature/flexible-vi…
Yiming3 Dec 21, 2024
ea1329f
fix: add optional chaining to prevent errors when accessing visionModels
Yiming3 Dec 21, 2024
a127ae1
docs: add VISION_MODELS section to README files
Yiming3 Dec 21, 2024
1d15666
Merge pull request #5919 from Yiming3/feature/flexible-visual-model
Dogtiti Dec 22, 2024
3c859fc
Update README.md
Leizhenpeng Dec 23, 2024
0c3d446
Merge pull request #5976 from ChatGPTNextWeb/Leizhenpeng-patch-1
Leizhenpeng Dec 23, 2024
d91af7f
Merge pull request #5883 from code-october/fix/model-leak
Dogtiti Dec 28, 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
20 changes: 13 additions & 7 deletions .env.template
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@

# Your openai api key. (required)
OPENAI_API_KEY=sk-xxxx

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

# You can start service behind a proxy
# You can start service behind a proxy. (optional)
PROXY_URL=http://localhost:7890

# (optional)
# Default: Empty
# Googel Gemini Pro API key, set if you want to use Google Gemini Pro API.
# Google 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 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)
Expand Down Expand Up @@ -47,17 +46,24 @@ ENABLE_BALANCE_QUERY=
# If you want to disable parse settings from url, set this value to 1.
DISABLE_FAST_LINK=

# (optional)
# Default: Empty
# To control custom models, use + to add a custom model, use - to hide a model, use name=displayName to customize model name, separated by comma.
CUSTOM_MODELS=

# (optional)
# Default: Empty
# Change default model
DEFAULT_MODEL=

# 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=
WHITE_WEBDAV_ENDPOINTS=
5 changes: 4 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"extends": "next/core-web-vitals",
"plugins": ["prettier"]
"plugins": ["prettier", "unused-imports"],
"rules": {
"unused-imports/no-unused-imports": "warn"
}
}
80 changes: 80 additions & 0 deletions .github/ISSUE_TEMPLATE/1_bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: '🐛 Bug Report'
description: 'Report an bug'
title: '[Bug] '
labels: ['bug']
body:
- type: dropdown
attributes:
label: '📦 Deployment Method'
multiple: true
options:
- 'Official installation package'
- 'Vercel'
- 'Zeabur'
- 'Sealos'
- 'Netlify'
- 'Docker'
- 'Other'
validations:
required: true
- type: input
attributes:
label: '📌 Version'
validations:
required: true

- type: dropdown
attributes:
label: '💻 Operating System'
multiple: true
options:
- 'Windows'
- 'macOS'
- 'Ubuntu'
- 'Other Linux'
- 'iOS'
- 'iPad OS'
- 'Android'
- 'Other'
validations:
required: true
- type: input
attributes:
label: '📌 System Version'
validations:
required: true
- type: dropdown
attributes:
label: '🌐 Browser'
multiple: true
options:
- 'Chrome'
- 'Edge'
- 'Safari'
- 'Firefox'
- 'Other'
validations:
required: true
- type: input
attributes:
label: '📌 Browser Version'
validations:
required: true
- type: textarea
attributes:
label: '🐛 Bug Description'
description: A clear and concise description of the bug, if the above option is `Other`, please also explain in detail.
validations:
required: true
- type: textarea
attributes:
label: '📷 Recurrence Steps'
description: A clear and concise description of how to recurrence.
- type: textarea
attributes:
label: '🚦 Expected Behavior'
description: A clear and concise description of what you expected to happen.
- type: textarea
attributes:
label: '📝 Additional Information'
description: If your problem needs further explanation, or if the issue you're seeing cannot be reproduced in a gist, please add more information here.
80 changes: 80 additions & 0 deletions .github/ISSUE_TEMPLATE/1_bug_report_cn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
name: '🐛 反馈缺陷'
description: '反馈一个问题/缺陷'
title: '[Bug] '
labels: ['bug']
body:
- type: dropdown
attributes:
label: '📦 部署方式'
multiple: true
options:
- '官方安装包'
- 'Vercel'
- 'Zeabur'
- 'Sealos'
- 'Netlify'
- 'Docker'
- 'Other'
validations:
required: true
- type: input
attributes:
label: '📌 软件版本'
validations:
required: true

- type: dropdown
attributes:
label: '💻 系统环境'
multiple: true
options:
- 'Windows'
- 'macOS'
- 'Ubuntu'
- 'Other Linux'
- 'iOS'
- 'iPad OS'
- 'Android'
- 'Other'
validations:
required: true
- type: input
attributes:
label: '📌 系统版本'
validations:
required: true
- type: dropdown
attributes:
label: '🌐 浏览器'
multiple: true
options:
- 'Chrome'
- 'Edge'
- 'Safari'
- 'Firefox'
- 'Other'
validations:
required: true
- type: input
attributes:
label: '📌 浏览器版本'
validations:
required: true
- type: textarea
attributes:
label: '🐛 问题描述'
description: 请提供一个清晰且简洁的问题描述,若上述选项为`Other`,也请详细说明。
validations:
required: true
- type: textarea
attributes:
label: '📷 复现步骤'
description: 请提供一个清晰且简洁的描述,说明如何复现问题。
- type: textarea
attributes:
label: '🚦 期望结果'
description: 请提供一个清晰且简洁的描述,说明您期望发生什么。
- type: textarea
attributes:
label: '📝 补充信息'
description: 如果您的问题需要进一步说明,或者您遇到的问题无法在一个简单的示例中复现,请在这里添加更多信息。
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/2_feature_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: '🌠 Feature Request'
description: 'Suggest an idea'
title: '[Feature Request] '
labels: ['enhancement']
body:
- type: textarea
attributes:
label: '🥰 Feature Description'
description: Please add a clear and concise description of the problem you are seeking to solve with this feature request.
validations:
required: true
- type: textarea
attributes:
label: '🧐 Proposed Solution'
description: Describe the solution you'd like in a clear and concise manner.
validations:
required: true
- type: textarea
attributes:
label: '📝 Additional Information'
description: Add any other context about the problem here.
21 changes: 21 additions & 0 deletions .github/ISSUE_TEMPLATE/2_feature_request_cn.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: '🌠 功能需求'
description: '提出需求或建议'
title: '[Feature Request] '
labels: ['enhancement']
body:
- type: textarea
attributes:
label: '🥰 需求描述'
description: 请添加一个清晰且简洁的问题描述,阐述您希望通过这个功能需求解决的问题。
validations:
required: true
- type: textarea
attributes:
label: '🧐 解决方案'
description: 请清晰且简洁地描述您想要的解决方案。
validations:
required: true
- type: textarea
attributes:
label: '📝 补充信息'
description: 在这里添加关于问题的任何其他背景信息。
Loading
Loading