Skip to content

Commit

Permalink
gm
Browse files Browse the repository at this point in the history
  • Loading branch information
IkigaiLabsETH committed Dec 22, 2024
1 parent c3e4d7c commit 64ff69e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -486,11 +486,9 @@ export async function createAgent(
);
}

let nftCollectionsPluginInstance: any | undefined;
if (getSecret(character, "RESERVOIR_API_KEY")) {
nftCollectionsPluginInstance = nftCollectionsPlugin;
await nftCollectionsPluginInstance.setup(character);
}
let nftCollectionsPluginInstance = getSecret(character, "RESERVOIR_API_KEY")
? nftCollectionsPlugin
: null;

return new AgentRuntime({
databaseAdapter: db,
Expand Down

0 comments on commit 64ff69e

Please sign in to comment.