diff --git a/apps/studio/components/ui/AIAssistantPanel/Message.tsx b/apps/studio/components/ui/AIAssistantPanel/Message.tsx index 9325418c7ec..1eb5ed6410e 100644 --- a/apps/studio/components/ui/AIAssistantPanel/Message.tsx +++ b/apps/studio/components/ui/AIAssistantPanel/Message.tsx @@ -7,7 +7,6 @@ import remarkGfm from 'remark-gfm' import { AiIconAnimation, cn, CodeBlock, markdownComponents, WarningIcon } from 'ui' import { QueryBlock } from '../QueryBlock/QueryBlock' import CollapsibleCodeBlock from './CollapsibleCodeBlock' -import { SqlSnippet } from './SqlSnippet' interface MessageProps { role: 'function' | 'system' | 'user' | 'assistant' | 'data' | 'tool' @@ -95,23 +94,20 @@ export const Message = function Message({ hideLineNumbers /> ) : ( -
- {showWarning === 'hasWriteOperation' - ? 'This query contains write operations.' - : 'This query involves running a function.'}{' '} - Are you sure you want to execute it? -
-- Make sure you are not accidentally removing something important. -
-
- {errorText}
-
- ))}
-
- {error.error}
- - > - )} -- {results.length} rows - {results.length >= 100 && ` (Limited to only 100 rows)`} -
-Success. No rows returned.
-