optimize llm prompt
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-10-31 17:27:45 +08:00
parent 49104d3aa6
commit 6d5a90407d

View File

@@ -7,7 +7,7 @@ async function translate(text: string, target_lang: string) {
{
role: "user",
content: `
请推断以下文本的语言、locale并翻译到目标语言[${target_lang}]同样需要locale信息以JSON格式返回
请推断以下文本的locale并翻译到目标语言${target_lang}同样需要locale信息以JSON格式返回
[${text}]
结果如:
{