Skip to content

Commit

Permalink
Update bin/fanyi.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
gitauto-ai[bot] authored Nov 20, 2024
1 parent d949e66 commit 9161961
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bin/fanyi.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// 将翻译功能的API从groq API更换为Google翻译API,以提升翻译质量和性能。

// 当前使用的groq API表现不佳,导致翻译质量低下且速度缓慢,影响用户体验。Google翻译API在翻译准确性、支持的语言范围以及性能方面表现更为出色,能够更好地满足用户需求。
#!/usr/bin/env -S node --no-deprecation

import { readFile } from 'node:fs/promises';
Expand Down

0 comments on commit 9161961

Please sign in to comment.