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
d77aa81f
authored
Sep 19, 2025
by
CaIon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: update labels for ratio settings to clarify model support
parent
abfb35b5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
web/src/pages/Setting/Ratio/ModelRatioSettings.jsx
+4
-4
No files found.
web/src/pages/Setting/Ratio/ModelRatioSettings.jsx
View file @
d77aa81f
...
@@ -225,8 +225,8 @@ export default function ModelRatioSettings(props) {
...
@@ -225,8 +225,8 @@ export default function ModelRatioSettings(props) {
<
Row
gutter=
{
16
}
>
<
Row
gutter=
{
16
}
>
<
Col
xs=
{
24
}
sm=
{
16
}
>
<
Col
xs=
{
24
}
sm=
{
16
}
>
<
Form
.
TextArea
<
Form
.
TextArea
label=
{
t
(
'图片
倍率
'
)
}
label=
{
t
(
'图片
输入倍率(仅部分模型支持该计费)
'
)
}
extraText=
{
t
(
'图片输入相关的倍率设置,键为模型名称,值为倍率'
)
}
extraText=
{
t
(
'图片输入相关的倍率设置,键为模型名称,值为倍率
,仅部分模型支持该计费
'
)
}
placeholder=
{
t
(
'为一个
JSON
文本,键为模型名称,值为倍率,例如:
{
"gpt-image-1"
:
2
}
'
)
}
placeholder=
{
t
(
'为一个
JSON
文本,键为模型名称,值为倍率,例如:
{
"gpt-image-1"
:
2
}
'
)
}
field=
{
'ImageRatio'
}
field=
{
'ImageRatio'
}
autosize=
{
{
minRows
:
6
,
maxRows
:
12
}
}
autosize=
{
{
minRows
:
6
,
maxRows
:
12
}
}
...
@@ -247,7 +247,7 @@ export default function ModelRatioSettings(props) {
...
@@ -247,7 +247,7 @@ export default function ModelRatioSettings(props) {
<
Row
gutter=
{
16
}
>
<
Row
gutter=
{
16
}
>
<
Col
xs=
{
24
}
sm=
{
16
}
>
<
Col
xs=
{
24
}
sm=
{
16
}
>
<
Form
.
TextArea
<
Form
.
TextArea
label=
{
t
(
'音频倍率'
)
}
label=
{
t
(
'音频倍率
(仅部分模型支持该计费)
'
)
}
extraText=
{
t
(
'音频输入相关的倍率设置,键为模型名称,值为倍率'
)
}
extraText=
{
t
(
'音频输入相关的倍率设置,键为模型名称,值为倍率'
)
}
placeholder=
{
t
(
'为一个
JSON
文本,键为模型名称,值为倍率,例如:
{
"gpt-4o-audio-preview"
:
16
}
'
)
}
placeholder=
{
t
(
'为一个
JSON
文本,键为模型名称,值为倍率,例如:
{
"gpt-4o-audio-preview"
:
16
}
'
)
}
field=
{
'AudioRatio'
}
field=
{
'AudioRatio'
}
...
@@ -269,7 +269,7 @@ export default function ModelRatioSettings(props) {
...
@@ -269,7 +269,7 @@ export default function ModelRatioSettings(props) {
<
Row
gutter=
{
16
}
>
<
Row
gutter=
{
16
}
>
<
Col
xs=
{
24
}
sm=
{
16
}
>
<
Col
xs=
{
24
}
sm=
{
16
}
>
<
Form
.
TextArea
<
Form
.
TextArea
label=
{
t
(
'音频补全倍率'
)
}
label=
{
t
(
'音频补全倍率
(仅部分模型支持该计费)
'
)
}
extraText=
{
t
(
'音频输出补全相关的倍率设置,键为模型名称,值为倍率'
)
}
extraText=
{
t
(
'音频输出补全相关的倍率设置,键为模型名称,值为倍率'
)
}
placeholder=
{
t
(
'为一个
JSON
文本,键为模型名称,值为倍率,例如:
{
"gpt-4o-realtime"
:
2
}
'
)
}
placeholder=
{
t
(
'为一个
JSON
文本,键为模型名称,值为倍率,例如:
{
"gpt-4o-realtime"
:
2
}
'
)
}
field=
{
'AudioCompletionRatio'
}
field=
{
'AudioCompletionRatio'
}
...
...
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