Skip to content

Commit

Permalink
add defaultRagCharacter to the character initialization in agent
Browse files Browse the repository at this point in the history
  • Loading branch information
brauliolomeli committed Jan 10, 2025
1 parent 46e26ab commit 4748f3c
Show file tree
Hide file tree
Showing 2 changed files with 726 additions and 522 deletions.
3 changes: 2 additions & 1 deletion agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
Clients,
DbCacheAdapter,
defaultCharacter,
defaultRagCharacter,
elizaLogger,
FsCacheAdapter,
IAgentRuntime,
Expand Down Expand Up @@ -899,7 +900,7 @@ const startAgents = async () => {
let serverPort = parseInt(settings.SERVER_PORT || "3000");
const args = parseArguments();
let charactersArg = args.characters || args.character;
let characters = [defaultCharacter];
let characters = [defaultCharacter, defaultRagCharacter];

if (charactersArg) {
characters = await loadCharacters(charactersArg);
Expand Down
Loading

0 comments on commit 4748f3c

Please sign in to comment.