diff --git a/src/components/chat/DyadExecuteSql.tsx b/src/components/chat/DyadExecuteSql.tsx index 50b7ad3..6e19afd 100644 --- a/src/components/chat/DyadExecuteSql.tsx +++ b/src/components/chat/DyadExecuteSql.tsx @@ -43,7 +43,10 @@ export const DyadExecuteSql: React.FC = ({
- {queryDescription || "SQL Query"} + + SQL + + {queryDescription} {inProgress && (
diff --git a/src/components/chat/DyadMarkdownParser.tsx b/src/components/chat/DyadMarkdownParser.tsx index 86114fc..f2bc499 100644 --- a/src/components/chat/DyadMarkdownParser.tsx +++ b/src/components/chat/DyadMarkdownParser.tsx @@ -299,6 +299,7 @@ function renderCustomTag( node={{ properties: { state: getState({ isStreaming, inProgress }), + description: attributes.description || "", }, }} >