Skip to content

Commit 50fcb68

Browse files
committed
update env for plugin-goat
1 parent 70583c7 commit 50fcb68

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

agent/src/index.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ export async function createAgent(
467467
}
468468

469469
let goatPlugin: any | undefined;
470-
if (getSecret(character, "ALCHEMY_API_KEY")) {
470+
if (getSecret(character, "EVM_PROVIDER_URL")) {
471471
goatPlugin = await createGoatPlugin((secret) =>
472472
getSecret(character, secret)
473473
);
@@ -538,7 +538,7 @@ export async function createAgent(
538538
getSecret(character, "COINBASE_NOTIFICATION_URI")
539539
? webhookPlugin
540540
: null,
541-
getSecret(character, "ALCHEMY_API_KEY") ? goatPlugin : null,
541+
getSecret(character, "EVM_PROVIDER_URL") ? goatPlugin : null,
542542
getSecret(character, "FLOW_ADDRESS") &&
543543
getSecret(character, "FLOW_PRIVATE_KEY")
544544
? flowPlugin

0 commit comments

Comments
 (0)