improvement(gdrive): remove mime type subblock from upload file tool (#1674)

* remove mime type subblock from upload file tool for gdrive

* add UI message to limit every x minutes to <60
This commit is contained in:
Vikhyath Mondreti
2025-10-17 14:58:23 -07:00
committed by GitHub
parent 35c551984f
commit 64eee587cd
2 changed files with 8 additions and 5 deletions
@@ -373,11 +373,15 @@ export function ScheduleModal({
placeholder='15'
type='number'
min='1'
max='59'
className='h-10'
autoComplete='off'
data-form-type='other'
name='minutes-interval'
/>
<p className='text-muted-foreground text-xs'>
Specify the interval in minutes (1-59)
</p>
</div>
)}
+4 -5
View File
@@ -90,17 +90,16 @@ export const GoogleDriveBlock: BlockConfig<GoogleDriveResponse> = {
type: 'dropdown',
layout: 'full',
options: [
{ label: 'Auto-detect from file', id: '' },
{ label: 'Plain Text (text/plain)', id: 'text/plain' },
{ label: 'Google Doc', id: 'application/vnd.google-apps.document' },
{ label: 'Google Sheet', id: 'application/vnd.google-apps.spreadsheet' },
{ label: 'Google Slides', id: 'application/vnd.google-apps.presentation' },
{ label: 'PDF (application/pdf)', id: 'application/pdf' },
{ label: 'Plain Text (text/plain)', id: 'text/plain' },
{ label: 'HTML (text/html)', id: 'text/html' },
{ label: 'CSV (text/csv)', id: 'text/csv' },
{ label: 'PDF (application/pdf)', id: 'application/pdf' },
],
placeholder: 'Select a file type (optional)',
condition: { field: 'operation', value: ['create_file', 'upload'] },
placeholder: 'Select file type',
condition: { field: 'operation', value: 'create_file' },
required: false,
},
{