Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Cleaner logs on agent startup #1973

Merged
merged 2 commits into from
Jan 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -514,11 +514,7 @@ export async function createAgent(
cache: ICacheManager,
token: string
): Promise<AgentRuntime> {
elizaLogger.success(
elizaLogger.successesTitle,
"Creating runtime for character",
character.name
);
elizaLogger.log(`Creating runtime for character ${character.name}`);

nodePlugin ??= createNodePlugin();

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/runtime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ export class AgentRuntime implements IAgentRuntime {
this.ensureParticipantExists(this.agentId, this.agentId);
});

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

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

Expand Down
Loading