Skip to content

Commit

Permalink
chore: update character
Browse files Browse the repository at this point in the history
  • Loading branch information
swizzmagik committed Dec 5, 2024
1 parent ed087c1 commit 9471bb0
Show file tree
Hide file tree
Showing 168 changed files with 1,494 additions and 805 deletions.
1 change: 1 addition & 0 deletions agent/.gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
*.ts
!index.ts
!character.ts
!apollo.ts
.env
*.env
.env*
Expand Down
18 changes: 11 additions & 7 deletions agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,29 @@
"@ai16z/client-telegram": "workspace:*",
"@ai16z/client-twitter": "workspace:*",
"@ai16z/eliza": "workspace:*",
"@ai16z/plugin-0g": "workspace:*",
"@ai16z/plugin-bootstrap": "workspace:*",
"@ai16z/plugin-conflux": "workspace:*",
"@ai16z/plugin-buttplug": "workspace:*",
"@ai16z/plugin-coinbase": "workspace:*",
"@ai16z/plugin-conflux": "workspace:*",
"@ai16z/plugin-evm": "workspace:*",
"@ai16z/plugin-goat": "workspace:*",
"@ai16z/plugin-icp": "workspace:*",
"@ai16z/plugin-image-generation": "workspace:*",
"@ai16z/plugin-node": "workspace:*",
"@ai16z/plugin-solana": "workspace:*",
"@ai16z/plugin-0g": "workspace:*",
"@ai16z/plugin-goat": "workspace:*",
"@ai16z/plugin-starknet": "workspace:*",
"@ai16z/plugin-icp": "workspace:*",
"@ai16z/plugin-tee": "workspace:*",
"@ai16z/plugin-coinbase": "workspace:*",
"optional": "0.1.4",
"readline": "1.3.0",
"sharp": "0.33.5",
"ws": "8.18.0",
"@ai16z/plugin-evm": "workspace:*",
"yargs": "17.7.2"
},
"devDependencies": {
"@types/node": "^22.10.1",
"ts-node": "10.9.2",
"tsup": "8.3.5"
"tsup": "8.3.5",
"typescript": "5.6.3"
}
}
7 changes: 4 additions & 3 deletions agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
IDatabaseAdapter,
IDatabaseCacheAdapter,
ModelProviderName,
defaultCharacter,
apolloCharacter,
elizaLogger,
settings,
stringToUuid,
Expand Down Expand Up @@ -179,7 +179,7 @@ export async function loadCharacters(

if (loadedCharacters.length === 0) {
elizaLogger.info("No characters found, using default character");
loadedCharacters.push(defaultCharacter);
loadedCharacters.push(apolloCharacter);
}

return loadedCharacters;
Expand Down Expand Up @@ -460,7 +460,7 @@ const startAgents = async () => {

let charactersArg = args.characters || args.character;

let characters = [defaultCharacter];
let characters = [apolloCharacter];

if (charactersArg) {
characters = await loadCharacters(charactersArg);
Expand All @@ -486,6 +486,7 @@ const startAgents = async () => {

elizaLogger.log("Chat started. Type 'exit' to quit.");

// test
if (process.env.NODE_ENV !== "production") {
chat();
} else {
Expand Down
2 changes: 2 additions & 0 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
"class-variance-authority": "0.7.1",
"clsx": "2.1.1",
"lucide-react": "0.460.0",
"optional": "0.1.4",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-router-dom": "6.22.1",
"sharp": "0.33.5",
"tailwind-merge": "2.5.5",
"tailwindcss-animate": "1.0.7",
"vite-plugin-top-level-await": "1.4.4",
Expand Down
Loading

0 comments on commit 9471bb0

Please sign in to comment.