上传带图片的word时,AI回复输出的路径错误,导致生成标准错误占位图
- Dominant language
- TypeScript
- Stars
- 29.6k
- Forks
- 7.3k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 152
Description
**例行检查**
[//]: # '方框内填 表示打钩'
- [x] 我已确认目前没有类似 issue
- [x] 我已完整查看过项目 README,以及[项目文档](https://doc.fastgpt.io/introduction/)
- [x] 我使用了自己的 key,并确认我的 key 是可正常使用的
- [x] 我理解并愿意跟进此 issue,协助测试和提供反馈
- [x] 我理解并认可上述内容,并理解项目维护者精力有限,**不遵循规则的 issue 可能会被无视或直接关闭**
**你的版本**
- [ ] 公有云版本
- [x] 私有部署版本, 具体版本号: V4.14.20
**问题描述, 日志截图,配置文件等**
使用场景是利用知识库作为业务客服的辅助工具。尝试过开关“图片转64位”功能,但似乎没有影响。
查看日志,该占位图所对应的域名:
http://##IP##/api/system/file/download/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJvYmplY3RLZXkiOiJkYXRhc2V0LzZhMzhlMzYzOWZiZTIyOGUyNGM2NTQ1OC9jb25maWd1cmVfcG9pbnRzX3JlZGVtcHRpb25fbzhJSnNpLXBhcnNlZC9jMWMzZmI5MC03OTEzLTQ2YWQtYmZlYy0zNzM5ZjY4MGM5MWUucG5nIiwiYnVja2V0TmFtZSI6ImZhc3RncHQtcHJpdmF0ZSIsInR5cCI6ImRvd25sb2FkIiwiaWF0IjoxNzgyNzkwMDc4LCJleHAiOjE3OTA1NjYwNzd9.nAygk7KpXMoIAejwApu2NQ_L1HpU6V7LWmgYvKEjHK0?filename=c1c3fb90-7913-46ad-bfec-3739f680c91e.png
引用的文件,图片可以正常展现:
http://###IP###/api/system/file/download/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJvYmplY3RLZXkiOiJkYXRhc2V0LzZhMzhlMzYzOWZiZTIyOGUyNGM2NTQ1OC9jb25maWd1cmVfcG9pbnRzX3JlZGVtcHRpb25fbzhJSnNpLXBhcnNlZC9jMWMzZmI5MC03OTEzLTQ2YWQtYmZlYy0zNzM5ZjY4MGM5MWUucG5nIiwiYnVja2V0TmFtZSI6ImZhc3RncHQtcHJpdmF0ZSIsInR5cGUiOiJkb3dubG9hZCIsImlhdCI6MTc4Mjc5NjU1MCwiZXhwIjoxNzkwNTcyNTUwfQ.o8eoPnATumEHSDJqoBXFzN-WgHVie8RVyYHeIiGRU98?filename=c1c3fb90-7913-46ad-bfec-3739f680c91e.png
**复现步骤**
上传多份 带图的 Word 文档,在AI对话中引导其输出图片。
**预期结果**
可以正确输出图片
**相关截图**
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the issue by uploading multiple image-containing Word documents and asking the AI conversation to output an image. Start at the /api/system/file/download endpoint and compare the incorrect generated URL with the working referenced-file URL; done means the AI response displays the image instead of the standard error placeholder.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100