Skip to content

Commit 5eb5514

Browse files
yang-hanshakkernerd
authored andcommitted
fix: print commands to start the client and remove unused --non-iteractive in dockerfile
1 parent 9eabb29 commit 5eb5514

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ COPY --from=builder /app/scripts ./scripts
5252
COPY --from=builder /app/characters ./characters
5353

5454
# Set the command to run the application
55-
CMD ["pnpm", "start", "--non-interactive"]
55+
CMD ["pnpm", "start"]

agent/src/index.ts

+6-5
Original file line numberDiff line numberDiff line change
@@ -648,14 +648,15 @@ const startAgents = async () => {
648648
}
649649

650650
// 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)
651+
directClient.startAgent = async (character) => {
652+
// wrap it so we don't have to inject directClient later
653+
return startAgent(character, directClient);
654654
};
655655
directClient.start(serverPort);
656656

657-
elizaLogger.log("Visit the following URL to chat with your agents:");
658-
elizaLogger.log(`http://localhost:5173`);
657+
elizaLogger.log(
658+
"Run `pnpm start:client` to start the client and visit the outputted URL (http://localhost:5173) to chat with your agents"
659+
);
659660
};
660661

661662
startAgents().catch((error) => {

0 commit comments

Comments
 (0)