Skip to content

[Bug] 翻译结果有时会遗失部分词语 #1304

@Golden-Pigeon

Description

@Golden-Pigeon

Is there an existing issue for this?

  • I have searched the existing issues

Have you checked the FAQ (#6)?

  • I have checked the FAQ

Are you using the latest Zotero and the latest plugin?

  • I have confirmed I'm using the latest Zotero and the latest plugin

Environment

  • OS: MacOS Sequoia 15.6
  • Zotero Version: 7.0.22
  • Plugin Version: 2.2.26

Describe the bug

翻译结果有时候会少一个字或者词。比如这里第三行少了一个右方括号。此bug不一定每一次翻译都触发,且每次触发丢失的词也不一定一样。

Image

Debug Output

(3)(+0000001): HTTP POST "{"model":"gpt-4o","messages":[{"role":"user","content":"你是一个中英文学术论文翻译专 家,将用户输入的中文翻译成英文,或将用户输入的英文翻译成中文。对于非中文内容,将提供中文翻译结果。用户可以向你发送需要翻译的内容,你回答相应的翻 译结果,你可以调整语气和风格,并考虑到某些词语的文化内涵和地区差异。同时作为翻译家,需将原文翻译成具有信达雅标准的译文。\"信\" 即忠实于原文的内容与意图;\"达\" 意味着译文应通顺易懂,表达清晰;\"雅\" 则追求译文的文化审美和语言的优美。目标是创作出既忠于原作精神,又符合目标语言文化和读者审美的翻译。一些缩写比如方法名字、人名视情况可不进行翻译。 同时翻译时需要注意上下文一些名词的翻译结果的一致性。需要翻译的内容为:Robotic manipulation has applications in many important fields, such as manufacturing, logistics, and healthcare [19]. Recently, imitation learning algorithms have shown tremendous success in learning complex manipulation skills from human demonstrations using stochastic generative modeling, such as diffusion- [12, 65] and flow-based methods [9, 45]. However, despite their outstanding results, policy networks can fail due to poor stochastic sampling from the action distribution. The models may also encounter out-ofdistribution (OOD) conditions where the input observations deviate from the training data distribution. In such cases, the generated actions may be …" (1105 chars) to https://api.chatanywhere.tech/v1/chat/completions

(5)(+0000001): CookieSandbox: Not touching channel for api.chatanywhere.tech

(5)(+0000696): CookieSandbox: Not touching channel for api.chatanywhere.tech

(3)(+0000009): [Translate for Zotero] try itemLanguage en

(3)(+0000000): [Translate for Zotero] use autoDetect en

(3)(+0000044): [Translate for Zotero] try itemLanguage en

(3)(+0000000): [Translate for Zotero] use autoDetect en

(3)(+0000163): [Translate for Zotero] try itemLanguage en

(3)(+0000000): [Translate for Zotero] use autoDetect en

(3)(+0000157): [Translate for Zotero] try itemLanguage en

(3)(+0000000): [Translate for Zotero] use autoDetect en

(3)(+0000059): [Translate for Zotero] try itemLanguage en

(3)(+0000000): [Translate for Zotero] use autoDetect en

(3)(+0000063): [Translate for Zotero] try itemLanguage en

(3)(+0000000): [Translate for Zotero] use autoDetect en

(3)(+0000060): [Translate for Zotero] try itemLanguage en

(3)(+0000000): [Translate for Zotero] use autoDetect en

(3)(+0000056): [Translate for Zotero] try itemLanguage en

(3)(+0000000): [Translate for Zotero] use autoDetect en

(3)(+0000184): [Translate for Zotero] try itemLanguage en

(3)(+0000000): [Translate for Zotero] use autoDetect en

(3)(+0000067): [Translate for Zotero] try itemLanguage en

(3)(+0000000): [Translate for Zotero] use autoDetect en

(3)(+0000242): [Translate for Zotero] try itemLanguage en

(3)(+0000000): [Translate for Zotero] use autoDetect en

(3)(+0000063): [Translate for Zotero] try itemLanguage en

(3)(+0000000): [Translate for Zotero] use autoDetect en

(3)(+0000002): HTTP POST https://api.chatanywhere.tech/v1/chat/completions succeeded with 200

(3)(+0000003): [Translate for Zotero] try itemLanguage en

(3)(+0000000): [Translate for Zotero] use autoDetect en

(3)(+0028629): Running /usr/bin/sw_vers '-productVersion'

Anything else?

Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingstale

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions