binary-husky / binary-husky/void-terminal
Use Arxiv Plugin, translation success but compiling always failed
- Dominant language
- Python
- Stars
- 19
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
My code:
```
import void_terminal as vt
from rich.live import Live
from rich.markdown import Markdown
vt.set_conf(key="API_KEY", value="xxx")
vt.set_conf(key="LLM_MODEL", value="deepseek-chat")
vt.set_conf(key="DEEPSEEK_API_KEY", value="xxx")
plugin = vt.get_plugin_handle('void_terminal.crazy_functions.Latex_Function->TranslateChineseToEnglishInLatexAndRecompilePDF')
plugin_kwargs = vt.get_plugin_default_kwargs()
plugin_kwargs['main_input'] = '2402.10946'
my_working_plugin = plugin(**plugin_kwargs)
with Live(Markdown(""), auto_refresh=False) as live:
for cookies, chat, hist, msg in my_working_plugin:
md_str = vt.chat_to_markdown_str(chat)
md = Markdown(md_str)
live.update(md, refresh=True)
```
and the output:

in comparison, the web output is:

I have tried many times, and the void-terminal arxiv translation always failed. Can you give me some advice? Thanks very much!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.