We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0a23d6d + 79cf0df commit 94d374aCopy full SHA for 94d374a
agent/src/index.ts
@@ -647,6 +647,11 @@ const startAgents = async () => {
647
elizaLogger.error("Error starting agents:", error);
648
}
649
650
+ // upload some agent functionality into directClient
651
+ directClient.startAgent = async character => {
652
+ // wrap it so we don't have to inject directClient later
653
+ return startAgent(character, directClient)
654
+ };
655
directClient.start(serverPort);
656
657
elizaLogger.log("Visit the following URL to chat with your agents:");
0 commit comments