Skip to content

Commit 3f38010

Browse files
authored
Fix agent title (#79)
1 parent 27e3ece commit 3f38010

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

src/playground/src/App.tsx

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,6 @@ import { useAccount, useSendTransaction, useSwitchChain } from "wagmi";
99
import { Header } from "./components/Header";
1010
import "./shims";
1111

12-
const bitteAgent = {
13-
id: "bitte-assistant",
14-
name: "Bitte Assistant",
15-
description:
16-
"Bitte assistant for interacting with NFTs and Fungible Tokens (FTs) on NEAR Protocol. Users can query, mint, transfer NFTs, transfer FTs, create drops, and swap tokens.",
17-
verified: true,
18-
image: "/bitte.svg",
19-
};
20-
2112
type AppConfig = {
2213
localAgent: {
2314
pluginId: string;
@@ -70,8 +61,8 @@ const Main: React.FC = (): JSX.Element => {
7061
<div id="ai-chat">
7162
<BitteAiChat
7263
options={{
73-
agentImage: bitteAgent.image,
74-
agentName: bitteAgent.name,
64+
agentImage: "/bitte.svg",
65+
agentName: config.localAgent.spec["x-mb"]?.assistant?.name,
7566
localAgent: config.localAgent,
7667
}}
7768
agentId={config.localAgent.pluginId}

0 commit comments

Comments
 (0)