Hk-Gosuto / ChatGPT-Next-Web-LangChain

一键拥有你自己的 ChatGPT 网页服务。 One-Click to deploy your own ChatGPT web UI.(基于 langchain 实现的插件版本 Plugin version implemented based on langchain)

Home Page:https://n3xt.chat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] tauri mac桌面客户端不能上传pdf

zpng opened this issue · comments

commented

Bug Description

tauri打包生成的桌面客户端,上传pdf文件报下面的错误,而且点击上传之后选择框没有按照配置的文件类型去显示,所有都可选。选择了pdf之后报下面的错误, console报下面的错误 (用gpt4-vision模型上传图片是可以的,比较奇怪pdf为啥不行)
[Error] Unhandled Promise Rejection: SyntaxError: The string did not match the expected pattern.
(anonymous function) (4b1a69f1-de70e4a3828960ba.js:111:177122)

Steps to Reproduce

打包mac桌面客户端
使用gpt-4,打开插件
上传pdf
报上面的错误

Expected Behavior

正常可以上传。

Screenshots

No response

Deployment Method

  • Docker
  • Vercel
  • Server

Desktop OS

mac 13.6 (22G120)

Desktop Browser

tauri客户端

Desktop Browser Version

No response

Smartphone Device

No response

Smartphone OS

No response

Smartphone Browser

No response

Smartphone Browser Version

No response

Additional Logs

No response

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] tauri mac desktop client cannot upload pdf

目前没有客户端支持计划

Bot detected the issue body's language is not English, translate it automatically.


There are currently no client support plans

commented

目前没有客户端支持计划

大佬强烈请求支持下哈,我试了除了上传pdf,其它功能在tauri打包的客户端里都是可以的哈

Bot detected the issue body's language is not English, translate it automatically.


There are currently no client support plans

I strongly request support. I have tried that except for uploading pdf, other functions are available in the client packaged by tauri.