Agi: what can I do? (I've been thinking about you)

This commit is contained in:
Enrico Ros
2024-08-22 17:11:42 -07:00
parent f4e488d658
commit c62423d7e3
2 changed files with 2 additions and 2 deletions
@@ -178,7 +178,7 @@ export function LLMAttachmentsList(props: {
{/* uses the agiAttachmentPrompts to imagine what the user will ask aboud those */}
<MenuItem color='primary' variant='soft' onClick={agiAttachmentPrompts.refetch} disabled={!hasAttachments || agiAttachmentPrompts.isFetching}>
<ListItemDecorator>{agiAttachmentPrompts.isFetching ? <CircularProgress size='sm' /> : <AutoFixHighIcon />}</ListItemDecorator>
What to do?
What can I do?
</MenuItem>
<ListDivider />
@@ -42,7 +42,7 @@ function LLMAttachmentsPromptsButton({ data }: { data: AgiAttachmentPromptsData
const tooltipTitle =
data.error ? (data.error.message || 'Error guessing actions')
: data.isFetching ? null
: data.isPending ? <Box sx={{ display: 'flex', gap: 1 }}><AgiSquircleIcon inverted sx={{ color: 'white', borderRadius: '1rem' }} /> What to do?</Box>
: data.isPending ? <Box sx={{ display: 'flex', gap: 1 }}><AgiSquircleIcon inverted sx={{ color: 'white', borderRadius: '1rem' }} /> What can I do?</Box>
: 'Give me more ideas';
const button = (