Rename apiCustomParams to customBody

This commit is contained in:
FlyLoongZ
2025-08-11 16:03:30 +08:00
parent be6e34ba52
commit e1f902c203
4 changed files with 26 additions and 26 deletions

View File

@@ -125,7 +125,7 @@ function ApiFields({ translator, api, updateApi, resetApi }) {
model = "",
systemPrompt = "",
userPrompt = "",
apiCustomParams = "",
customBody = "",
think = false,
thinkIgnore = "",
fetchLimit = DEFAULT_FETCH_LIMIT,
@@ -278,8 +278,8 @@ function ApiFields({ translator, api, updateApi, resetApi }) {
<TextField
size="small"
label={i18n("api_custom_params")}
name="apiCustomParams"
value={apiCustomParams}
name="customBody"
value={customBody}
onChange={handleChange}
multiline
maxRows={10}