Skip to content

Commit

Permalink
finished devschool3
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelgreen06 committed Jan 28, 2025
1 parent 009a582 commit c9ec1df
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,8 @@ import path from "path";
import { fileURLToPath } from "url";
import yargs from "yargs";
import { dominosPlugin } from "@elizaos/plugin-dominos";
import userDataProvider from "./userDataProvider";
import { userDataEvaluator } from "./userDataEvaluator";

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 @@ -732,7 +734,8 @@ export async function createAgent(
databaseAdapter: db,
token,
modelProvider: character.modelProvider,
evaluators: [],
evaluators: [userDataEvaluator],
providers: [userDataProvider],
character,
// character.plugins are handled when clients are added
plugins: [
Expand Down Expand Up @@ -882,7 +885,6 @@ export async function createAgent(
: null,
getSecret(character, "QUAI_PRIVATE_KEY") ? quaiPlugin : null,
].filter(Boolean),
providers: [],
actions: [],
services: [],
managers: [],
Expand Down

0 comments on commit c9ec1df

Please sign in to comment.