Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

图形交互界面选择openai-liked时自动写入config.json的翻译服务名字出错 #624

Open
4 tasks done
yuzixieshouhuajiaqi opened this issue Feb 14, 2025 · 4 comments
Labels
bug Something isn't working

Comments

@yuzixieshouhuajiaqi
Copy link

在提问之前...

  • 我已经搜索了现有的 issues
  • 我在提问题之前至少花费了 5 分钟来思考和准备
  • 我已经认真且完整的阅读了 wiki
  • 我已经认真检查了问题和网络环境无关

使用的环境

- OS:win10
- Python:3.12
- pdf2zh:pdf2zh 1.9.0

描述你的问题

图形交互界面选择翻译服务【openai-liked】时,自动写入config.json的翻译服务名字为【openailiked】。两者不一致,可能会导致像我这样的一些新手,调用翻译服务时出错。
麻烦大佬有空时,完善一下呀~

Image

Image

如何复现

  1. 执行 '...'
  2. 选择 '....'
  3. 出现问题

预期行为

No response

相关 Logs


原始PDF文件

No response

还有别的吗?

No response

@yuzixieshouhuajiaqi yuzixieshouhuajiaqi added the bug Something isn't working label Feb 14, 2025
@FOXITFUL
Copy link

如果不改这里【openailiked】的话,其他api比如硅基流动、天翼云等是否就不能使用呢?我测试用天翼云deepseek的API,但是一直显示错误

@hellofinch
Copy link
Contributor

没太理解需求,webUI上的显示只是显示,和配置文件中的名字没啥关系。
是有什么需求一定要名称对应吗?

@yuzixieshouhuajiaqi
Copy link
Author

大佬,不影响图形交互界面这种方式的运行,但是影响通过命令窗口调用这个翻译服务guaguastandup/zotero-pdf2zh#21

@hellofinch
Copy link
Contributor

hellofinch commented Feb 17, 2025

哦哦哦 我懂你意思了,我去改一下文档就对应上了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants