Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
15b7d1c2
authored
Mar 02, 2026
by
CaIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add AionUI to chat settings and built-in templates
parent
29f38f45
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
setting/chat.go
+3
-3
web/src/pages/Setting/Chat/SettingsChats.jsx
+1
-0
No files found.
setting/chat.go
View file @
15b7d1c2
...
@@ -13,9 +13,9 @@ var Chats = []map[string]string{
...
@@ -13,9 +13,9 @@ var Chats = []map[string]string{
{
{
"Cherry Studio"
:
"cherrystudio://providers/api-keys?v=1&data={cherryConfig}"
,
"Cherry Studio"
:
"cherrystudio://providers/api-keys?v=1&data={cherryConfig}"
,
},
},
//
{
{
//
"AionUI": "aionui://provider/add?v=1&data={aionuiConfig}",
"AionUI"
:
"aionui://provider/add?v=1&data={aionuiConfig}"
,
//
},
},
{
{
"流畅阅读"
:
"fluentread"
,
"流畅阅读"
:
"fluentread"
,
},
},
...
...
web/src/pages/Setting/Chat/SettingsChats.jsx
View file @
15b7d1c2
...
@@ -68,6 +68,7 @@ export default function SettingsChats(props) {
...
@@ -68,6 +68,7 @@ export default function SettingsChats(props) {
const
BUILTIN_TEMPLATES
=
[
const
BUILTIN_TEMPLATES
=
[
{
name
:
'Cherry Studio'
,
url
:
'cherrystudio://providers/api-keys?v=1&data={cherryConfig}'
},
{
name
:
'Cherry Studio'
,
url
:
'cherrystudio://providers/api-keys?v=1&data={cherryConfig}'
},
{
name
:
'AionUI'
,
url
:
'aionui://provider/add?v=1&data={aionuiConfig}'
},
{
name
:
'流畅阅读'
,
url
:
'fluentread'
},
{
name
:
'流畅阅读'
,
url
:
'fluentread'
},
{
name
:
'CC Switch'
,
url
:
'ccswitch'
},
{
name
:
'CC Switch'
,
url
:
'ccswitch'
},
{
name
:
'Lobe Chat'
,
url
:
'https://chat-preview.lobehub.com/?settings={"keyVaults":{"openai":{"apiKey":"{key}","baseURL":"{address}/v1"}}}'
},
{
name
:
'Lobe Chat'
,
url
:
'https://chat-preview.lobehub.com/?settings={"keyVaults":{"openai":{"apiKey":"{key}","baseURL":"{address}/v1"}}}'
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment