From d736fb3172d34d29a3f84c36af1a1b843dcaa807 Mon Sep 17 00:00:00 2001 From: Nadeesha Cabral Date: Sun, 29 Dec 2024 11:56:40 +1100 Subject: [PATCH] update --- sdk-react/demo/TestPage.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sdk-react/demo/TestPage.tsx b/sdk-react/demo/TestPage.tsx index 9b192ff9..7a4366ae 100644 --- a/sdk-react/demo/TestPage.tsx +++ b/sdk-react/demo/TestPage.tsx @@ -20,11 +20,7 @@ export function TestPage() { const [pingCount, setPingCount] = useState(1); const FormAgent = useAgent({ - prompt: `Ping the server, and return the system status at the time of the ping. ${JSON.stringify( - { - pingCount, - } - )}`, + prompt: `Ping the server ${pingCount} times, and return the system status at the time of the ping.`, run: basicRun, }); @@ -42,6 +38,7 @@ export function TestPage() { Check system ({mode}) +

useAgent with form