We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c08d0a2 + 94d374a commit c34ff57Copy full SHA for c34ff57
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