👨‍🔧 fix: Direct Provider Attachment Support for Agents (#10035)

* fix: show direct upload option on applicable agents

* fix: allow agent file upload handler to process direct upload files (no tool_resource)
This commit is contained in:
Dustin Healy 2025-10-09 00:31:04 -07:00 committed by GitHub
parent e9b678dd6a
commit ff027e8243
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 4 deletions

View file

@ -118,7 +118,7 @@ const AttachFileMenu = ({
const currentProvider = provider || endpoint;
if (isDocumentSupportedProvider(endpointType || currentProvider)) {
if (isDocumentSupportedProvider(currentProvider || endpointType)) {
items.push({
label: localize('com_ui_upload_provider'),
onClick: () => {