Skip to content

[Bug]: Online PDF cannot be directly added to knowledge base #14182

@tzzym

Description

@tzzym

Note

This issue was translated by Claude.

Issue Checklist

  • I understand that issues are for feedback and problem solving, not for complaining in the comment section, and will provide as much information as possible to help solve the problem.
  • My issue is not listed in the FAQ.
  • I've looked at pinned issues and searched for existing Open Issues, Closed Issues, and Discussions, no similar issue or discussion was found.
  • I've filled in short, clear headings so that developers can quickly identify a rough idea of what to expect when flipping through the list of issues. And not "a suggestion", "stuck", etc.
  • I've confirmed that I am using the latest version of Cherry Studio.

Platform

Windows

Version

v1.8.4

Bug Description

When adding a file to the knowledge base, I pasted an online PDF document URL into the file address field in CherryStudio's knowledge base. After pressing "Enter", Windows automatically downloaded the PDF, but CherryStudio prompted "Format not supported".

Image Image

Opening the download path

Image

Found that the file is a standard PDF document

Image

Steps To Reproduce

  1. In browser settings, enable "Open Office files in browser"
  2. Open a PDF file directly from the internet in the browser (must be directly opened, not an online editor)
  3. Copy the link
  4. Create a knowledge base, click "Add File"
  5. Paste the link in the dialog and press "Enter"
  6. You can see the PDF file being downloaded, and CherryStudio's incompatibility prompt appears

Expected Behavior

After successful download, automatically load the PDF file

Relevant Log Output

Additional Context

No response


Original Content

Issue Checklist

  • I understand that issues are for feedback and problem solving, not for complaining in the comment section, and will provide as much information as possible to help solve the problem.
  • My issue is not listed in the FAQ.
  • I've looked at pinned issues and searched for existing Open Issues, Closed Issues, and Discussions, no similar issue or discussion was found.
  • I've filled in short, clear headings so that developers can quickly identify a rough idea of what to expect when flipping through the list of issues. And not "a suggestion", "stuck", etc.
  • I've confirmed that I am using the latest version of Cherry Studio.

Platform

Windows

Version

v1.8.4

Bug Description

当在知识库添加文件时,把一个在线PDF文档的地址,作为要添加的文件的地址,粘贴到cherrystudio的知识库里,按回车后,Windows自动下载PDF,但是cherrystudio提示格式不支持。

Image Image

打开下载路径

Image

发现文件就是标准的PDF文档

Image

Steps To Reproduce

1.在浏览器设置中,打开在浏览器中打开Office文件
2.浏览器直接打开一个网络上的PDF文件(必须是直接打开,不能是在线编辑器)
3.复制链接
4.创建知识库,点击添加文件
5.在对话框中粘贴链接,并且按回车
6.可以看到PDF文件正在下载,同时可以看到cherrystudio的不兼容提示

Expected Behavior

下载成功后自动加载PDF文件

Relevant Log Output

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    DataCategorizes an issue or PR as relevant to SIG DataRAGCategorizes an issue or PR as relevant to SIG RAG

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions