lobe-chat icon indicating copy to clipboard operation
lobe-chat copied to clipboard

✨ feat 根据模型动态选择是否支持拖拽上传文件

Open Yanyutin753 opened this issue 2 months ago • 8 comments

💻 变更类型 | Change Type

  • [x] ✨ feat
  • [ ] 🐛 fix
  • [ ] ♻️ refactor
  • [ ] 💄 style
  • [ ] 🔨 chore
  • [ ] ⚡️ perf
  • [ ] 📝 docs

🔀 变更说明 | Description of Change

#1911 ✨ feat 根据模型动态选择是否支持拖拽或者复制上传文件

📝 补充信息 | Additional Information

  • 支持根据模型动态选择是否支持拖拽上传文件

https://github.com/lobehub/lobe-chat/assets/132346501/fd620bc9-b034-4236-81d7-3e1eeb27e0b4

  • 支持根据模型动态复制上传文件

https://github.com/lobehub/lobe-chat/assets/132346501/a3e3a5a6-0fdb-49fd-b3a2-eccdae4281df

Yanyutin753 avatar Apr 13 '24 07:04 Yanyutin753

@Yanyutin753 is attempting to deploy a commit to the LobeHub Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Apr 13 '24 07:04 vercel[bot]

👍 @Yanyutin753

Thank you for raising your pull request and contributing to our Community Please make sure you have followed our contributing guidelines. We will review it as soon as possible. If you encounter any problems, please feel free to connect with us.
非常感谢您提出拉取请求并为我们的社区做出贡献,请确保您已经遵循了我们的贡献指南,我们会尽快审查它。 如果您遇到任何问题,请随时与我们联系。

lobehubbot avatar Apr 13 '24 07:04 lobehubbot

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Thank you for your hard work, boss👍👍👍

lobehubbot avatar Apr 13 '24 08:04 lobehubbot

@arvinxx 辛苦大佬啦

Yanyutin753 avatar Apr 14 '24 00:04 Yanyutin753

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@arvinxx Thank you for your hard work.

lobehubbot avatar Apr 14 '24 00:04 lobehubbot

@arvinxx 大佬,抱歉,我昨天忘记上传了,现在上传修改后的代码😭

Yanyutin753 avatar Apr 14 '24 01:04 Yanyutin753

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


@arvinxx Boss, sorry, I forgot to upload it yesterday, now upload the modified code😭

lobehubbot avatar Apr 14 '24 01:04 lobehubbot

应该没有问题了🤩

https://github.com/lobehub/lobe-chat/assets/132346501/9d5bbbac-dbc0-4d86-9ea6-479beb5ff426

Yanyutin753 avatar Apr 14 '24 01:04 Yanyutin753

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.76%. Comparing base (bdba18d) to head (0c8b349). Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #2016    +/-   ##
========================================
  Coverage   92.76%   92.76%            
========================================
  Files         256      256            
  Lines       14733    14733            
  Branches     1025     1703   +678     
========================================
  Hits        13667    13667            
  Misses       1066     1066            

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar Apr 14 '24 03:04 codecov[bot]

❤️ Great PR @Yanyutin753 ❤️

The growth of project is inseparable from user feedback and contribution, thanks for your contribution! If you are interesting with the lobehub developer community, please join our discord and then dm @arvinxx or @canisminor1990. They will invite you to our private developer channel. We are talking about the lobe-chat development or sharing ai newsletter around the world.
项目的成长离不开用户反馈和贡献,感谢您的贡献! 如果您对 LobeHub 开发者社区感兴趣,请加入我们的 discord,然后私信 @arvinxx 或 @canisminor1990。他们会邀请您加入我们的私密开发者频道。我们将会讨论关于 Lobe Chat 的开发,分享和讨论全球范围内的 AI 消息。

lobehubbot avatar Apr 14 '24 03:04 lobehubbot

:tada: This PR is included in version 0.147.11 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

lobehubbot avatar Apr 14 '24 03:04 lobehubbot