Skip to content

Commit

Permalink
chore: remove conflict package
Browse files Browse the repository at this point in the history
  • Loading branch information
shakkernerd committed Jan 6, 2025
1 parent a54f24a commit 914a89a
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 1,854 deletions.
1 change: 0 additions & 1 deletion agent/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"@elizaos/plugin-tee-marlin": "workspace:*",
"@elizaos/plugin-multiversx": "workspace:*",
"@elizaos/plugin-near": "workspace:*",
"@elizaos/plugin-reclaim": "workspace:*",
"@elizaos/plugin-zksync-era": "workspace:*",
"@elizaos/plugin-twitter": "workspace:*",
"@elizaos/plugin-cronoszkevm": "workspace:*",
Expand Down
36 changes: 17 additions & 19 deletions agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { LensAgentClient } from "@elizaos/client-lens";
import { SlackClientInterface } from "@elizaos/client-slack";
import { TelegramClientInterface } from "@elizaos/client-telegram";
import { TwitterClientInterface } from "@elizaos/client-twitter";
import { ReclaimAdapter } from "@elizaos/plugin-reclaim";
// import { ReclaimAdapter } from "@elizaos/plugin-reclaim";
import {
AgentRuntime,
CacheManager,
Expand Down Expand Up @@ -527,20 +527,20 @@ export async function createAgent(
}

// Initialize Reclaim adapter if environment variables are present
let verifiableInferenceAdapter;
if (
process.env.RECLAIM_APP_ID &&
process.env.RECLAIM_APP_SECRET &&
process.env.VERIFIABLE_INFERENCE_ENABLED === "true"
) {
verifiableInferenceAdapter = new ReclaimAdapter({
appId: process.env.RECLAIM_APP_ID,
appSecret: process.env.RECLAIM_APP_SECRET,
modelProvider: character.modelProvider,
token,
});
elizaLogger.log("Verifiable inference adapter initialized");
}
// let verifiableInferenceAdapter;
// if (
// process.env.RECLAIM_APP_ID &&
// process.env.RECLAIM_APP_SECRET &&
// process.env.VERIFIABLE_INFERENCE_ENABLED === "true"
// ) {
// verifiableInferenceAdapter = new ReclaimAdapter({
// appId: process.env.RECLAIM_APP_ID,
// appSecret: process.env.RECLAIM_APP_SECRET,
// modelProvider: character.modelProvider,
// token,
// });
// elizaLogger.log("Verifiable inference adapter initialized");
// }

return new AgentRuntime({
databaseAdapter: db,
Expand Down Expand Up @@ -602,9 +602,7 @@ export async function createAgent(
advancedTradePlugin,
]
: []),
...(teeMode !== TEEMode.OFF && walletSecretSalt
? [teePlugin]
: []),
...(teeMode !== TEEMode.OFF && walletSecretSalt ? [teePlugin] : []),
getSecret(character, "COINBASE_API_KEY") &&
getSecret(character, "COINBASE_PRIVATE_KEY") &&
getSecret(character, "COINBASE_NOTIFICATION_URI")
Expand Down Expand Up @@ -652,7 +650,7 @@ export async function createAgent(
managers: [],
cacheManager: cache,
fetch: logFetch,
verifiableInferenceAdapter,
// verifiableInferenceAdapter,
});
}

Expand Down
106 changes: 0 additions & 106 deletions packages/plugin-reclaim/README.md

This file was deleted.

24 changes: 0 additions & 24 deletions packages/plugin-reclaim/package.json

This file was deleted.

Loading

0 comments on commit 914a89a

Please sign in to comment.