Skip to content

feat(translator): remove LLM <think>xxx</think> #609

Description

@missyoueveryday

问题描述

使用ollama本地模型进行翻译,如果使用带有思考的模型比如deepseek r1会将思考部分也输入到翻译结果中,并且同时导致排版错误

Image
可用于测试的pdf:

test.pdf

测试文档

Important

请提供用于复现测试的 PDF 文档

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions