fix: gemini api

This commit is contained in:
Gabe
2025-07-02 16:37:57 +08:00
parent 704ebdc9d7
commit 94bf5f9580
3 changed files with 14 additions and 2 deletions

View File

@@ -301,7 +301,8 @@ function ApiFields({ translator }) {
)}
{(translator.startsWith(OPT_TRANS_OPENAI) ||
translator === OPT_TRANS_CLAUDE) && (
translator === OPT_TRANS_CLAUDE ||
translator === OPT_TRANS_GEMINI) && (
<>
<TextField
size="small"