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