diff --git a/examples/agent.ts b/examples/agent.ts index f05bc2c..c36ba4f 100644 --- a/examples/agent.ts +++ b/examples/agent.ts @@ -42,7 +42,7 @@ async function main() { let allMessages: Message[] = [] // Run the chat loop: read messages and send messages - var exitNextLoop = false; + let exitNextLoop = false; while (true) { const newMessages: Message[] = await getNewMessages(contract, agentRunID, allMessages.length); if (newMessages) { diff --git a/examples/template.env b/examples/template.env index 0f76fd7..e373294 100644 --- a/examples/template.env +++ b/examples/template.env @@ -2,7 +2,7 @@ CHAIN_ID=696969 RPC_URL="https://devnet.galadriel.com/" PRIVATE_KEY="" -CHAT_CONTRACT_ADDRESS="0x04a26CFf9Ef76c98C1487f5F77F5a30458B999a2" +CHAT_CONTRACT_ADDRESS="0x4A5e76a1aEa072BF32a71A61F52FC1f410AAd748" CHAT_VISION_CONTRACT_ADDRESS="0x785578B0dA5F21F8321590981E15F618BBc1915c" -AGENT_CONTRACT_ADDRESS="0x9496b155e6e2BCdf5aC0d64F36d344E5B8e49d60" -ANTROPIC_CONTRACT_ADDRESS="0xCfd9463d6452c396eD0a56005C22D7171D0B5f2c" \ No newline at end of file +AGENT_CONTRACT_ADDRESS="0xFb09a7a940ae690Fafc59e18310c4deBF75B1B52" +ANTROPIC_CONTRACT_ADDRESS="0x8cA1e115f96A562418968B475c1F096a8A385Ddb" \ No newline at end of file