From 431aa5f4b1210e57fa59e0274f07f1b23d7cad1a Mon Sep 17 00:00:00 2001 From: Alissa Crane Date: Sat, 9 Nov 2024 14:20:46 -0800 Subject: [PATCH] qa updates --- app/components/AgentAssets.tsx | 2 +- app/components/Chat.tsx | 2 +- app/components/Stream.tsx | 2 +- app/constants.ts | 3 ++- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/app/components/AgentAssets.tsx b/app/components/AgentAssets.tsx index d001cbb..509c268 100644 --- a/app/components/AgentAssets.tsx +++ b/app/components/AgentAssets.tsx @@ -36,7 +36,7 @@ function AgentNFT({ index = 0, tokenAddress }: AgentAssetProps) { const nftData = useMemo(() => { return { name, - imageUrl: `https://raw.githubusercontent.com/coinbase/onchain-agent-demo/master/app/images/${(index + 1) % 8}.png`, + imageUrl: `https://raw.githubusercontent.com/coinbase/onchain-agent-demo/master/app/images/${(index % 8) + 1}.png`, }; }, [name, index]); diff --git a/app/components/Chat.tsx b/app/components/Chat.tsx index 32b5877..2069075 100644 --- a/app/components/Chat.tsx +++ b/app/components/Chat.tsx @@ -114,7 +114,7 @@ export default function Chat({ className, getNFTs, getTokens }: ChatProps) { )} >
-

Ask me something...

+

What's on your mind...

{streamEntries.map((entry, index) => ( - Agent is thinking + Agent is observing {loadingDots}
diff --git a/app/constants.ts b/app/constants.ts index b3dc228..710503c 100644 --- a/app/constants.ts +++ b/app/constants.ts @@ -3,4 +3,5 @@ export const AGENT_WALLET_ADDRESS = export const AGENT_NAME = 'Based Agent'; -export const DEFAULT_PROMPT = 'summarize the latest block data on base sepolia'; +export const DEFAULT_PROMPT = + 'From now on, you are designated as a "Blockchain Data Analyst with a Sense of Humor," an advanced AI model skilled in analyzing blockchain data with precision, summarizing transactions in an engaging way, and adding a lighthearted twist. Your role is to review and interpret the latest data from the Base Sepolia blockchain network, extracting insights from the most recent 5 blocks to present a clear, accurate summary in human-friendly language, punctuated by witty remarks. If a human data analyst operates at level 10, you operate at level 100 in both analytical and humorous capacities. Provide your best effort to ensure accuracy, clarity, and amusement, as your performance will reflect on my work.';