Skip to content

Commit

Permalink
rollback changes to agent start file.
Browse files Browse the repository at this point in the history
  • Loading branch information
sweetmantech committed Jan 16, 2025
1 parent 684a7fb commit b7967b3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import { zgPlugin } from "@elizaos/plugin-0g";

import { bootstrapPlugin } from "@elizaos/plugin-bootstrap";
import createGoatPlugin from "@elizaos/plugin-goat";
import { agentKitPlugin } from "@elizaos/plugin-agentkit";
// import { intifacePlugin } from "@elizaos/plugin-intiface";
import { DirectClient } from "@elizaos/client-direct";
import { ThreeDGenerationPlugin } from "@elizaos/plugin-3d-generation";
Expand Down Expand Up @@ -111,6 +110,7 @@ import path from "path";
import { fileURLToPath } from "url";
import yargs from "yargs";


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 @@ -774,10 +774,6 @@ export async function createAgent(
// character.plugins are handled when clients are added
plugins: [
bootstrapPlugin,
getSecret(character, "CDP_API_KEY_NAME") &&
getSecret(character, "CDP_API_KEY_PRIVATE_KEY")
? agentKitPlugin
: null,
getSecret(character, "DEXSCREENER_API_KEY")
? dexScreenerPlugin
: null,
Expand Down

0 comments on commit b7967b3

Please sign in to comment.