We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70583c7 commit 50fcb68Copy full SHA for 50fcb68
agent/src/index.ts
@@ -467,7 +467,7 @@ export async function createAgent(
467
}
468
469
let goatPlugin: any | undefined;
470
- if (getSecret(character, "ALCHEMY_API_KEY")) {
+ if (getSecret(character, "EVM_PROVIDER_URL")) {
471
goatPlugin = await createGoatPlugin((secret) =>
472
getSecret(character, secret)
473
);
@@ -538,7 +538,7 @@ export async function createAgent(
538
getSecret(character, "COINBASE_NOTIFICATION_URI")
539
? webhookPlugin
540
: null,
541
- getSecret(character, "ALCHEMY_API_KEY") ? goatPlugin : null,
+ getSecret(character, "EVM_PROVIDER_URL") ? goatPlugin : null,
542
getSecret(character, "FLOW_ADDRESS") &&
543
getSecret(character, "FLOW_PRIVATE_KEY")
544
? flowPlugin
0 commit comments