diff --git a/apps/dashboard/src/app/nebula-app/(app)/components/Chats.tsx b/apps/dashboard/src/app/nebula-app/(app)/components/Chats.tsx index c0d049a1234..ad88ec3fd35 100644 --- a/apps/dashboard/src/app/nebula-app/(app)/components/Chats.tsx +++ b/apps/dashboard/src/app/nebula-app/(app)/components/Chats.tsx @@ -172,7 +172,7 @@ export function Chats(props: { client={props.client} onTxSettled={(txHash) => { props.sendMessage( - `I've sent the transaction with hash: ${txHash}.`, + getTransactionSettledPrompt(txHash), ); }} /> @@ -209,6 +209,13 @@ export function Chats(props: { ); } +function getTransactionSettledPrompt(txHash: string) { + return `\ +I've executed the following transaction successfully with hash: ${txHash}. + +If our conversation calls for it, continue on to the next transaction or suggest next steps`; +} + function ExecuteTransactionCardWithFallback(props: { txData: NebulaTxData | null; client: ThirdwebClient;