Skip to content

Commit f50631e

Browse files
authored
Merge pull request elizaOS#1973 from velvet-shark/agent-runtime-logging
chore: Cleaner logs on agent startup
2 parents c791786 + 297b9dd commit f50631e

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

agent/src/index.ts

+1-5
Original file line numberDiff line numberDiff line change
@@ -514,11 +514,7 @@ export async function createAgent(
514514
cache: ICacheManager,
515515
token: string
516516
): Promise<AgentRuntime> {
517-
elizaLogger.success(
518-
elizaLogger.successesTitle,
519-
"Creating runtime for character",
520-
character.name
521-
);
517+
elizaLogger.log(`Creating runtime for character ${character.name}`);
522518

523519
nodePlugin ??= createNodePlugin();
524520

packages/core/src/runtime.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ export class AgentRuntime implements IAgentRuntime {
267267
this.ensureParticipantExists(this.agentId, this.agentId);
268268
});
269269

270-
elizaLogger.success("Agent ID", this.agentId);
270+
elizaLogger.success(`Agent ID: ${this.agentId}`);
271271

272272
this.fetch = (opts.fetch as typeof fetch) ?? this.fetch;
273273

0 commit comments

Comments
 (0)