Skip to content

Commit

Permalink
Merge branch 'bmgalego-twitter-refactor'
Browse files Browse the repository at this point in the history
  • Loading branch information
ponderingdemocritus committed Nov 21, 2024
2 parents 47fc913 + 0c4d6df commit 4ac0433
Show file tree
Hide file tree
Showing 11 changed files with 618 additions and 293 deletions.
4 changes: 2 additions & 2 deletions agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import readline from "readline";
import yargs from "yargs";
import path from "path";
import { fileURLToPath } from "url";
import { character } from "./character";
import { character } from "./character.ts";

const __filename = fileURLToPath(import.meta.url); // get the resolved path to the file
const __dirname = path.dirname(__filename); // get the name of the directory
Expand Down Expand Up @@ -315,7 +315,7 @@ const startAgents = async () => {

try {
for (const character of characters) {
await startAgent(character, directClient);
await startAgent(character, directClient as DirectClient);
}
} catch (error) {
elizaLogger.error("Error starting agents:", error);
Expand Down
Loading

0 comments on commit 4ac0433

Please sign in to comment.