@@ -53,7 +53,7 @@ import {
53
53
webhookPlugin ,
54
54
} from "@elizaos/plugin-coinbase" ;
55
55
import { coinmarketcapPlugin } from "@elizaos/plugin-coinmarketcap" ;
56
- import { coinPricePlugin } from "@elizaos/plugin-coinprice " ;
56
+ import { coingeckoPlugin } from "@elizaos/plugin-coingecko " ;
57
57
import { confluxPlugin } from "@elizaos/plugin-conflux" ;
58
58
import { createCosmosPlugin } from "@elizaos/plugin-cosmos" ;
59
59
import { cronosZkEVMPlugin } from "@elizaos/plugin-cronoszkevm" ;
@@ -68,17 +68,18 @@ import { nearPlugin } from "@elizaos/plugin-near";
68
68
import { nftGenerationPlugin } from "@elizaos/plugin-nft-generation" ;
69
69
import { createNodePlugin } from "@elizaos/plugin-node" ;
70
70
import { obsidianPlugin } from "@elizaos/plugin-obsidian" ;
71
+ import { sgxPlugin } from "@elizaos/plugin-sgx" ;
71
72
import { solanaPlugin } from "@elizaos/plugin-solana" ;
72
73
import { solanaAgentkitPlguin } from "@elizaos/plugin-solana-agentkit" ;
73
74
import { storyPlugin } from "@elizaos/plugin-story" ;
74
75
import { suiPlugin } from "@elizaos/plugin-sui" ;
75
- import { sgxPlugin } from "@elizaos/plugin-sgx" ;
76
76
import { TEEMode , teePlugin } from "@elizaos/plugin-tee" ;
77
77
import { teeLogPlugin } from "@elizaos/plugin-tee-log" ;
78
78
import { teeMarlinPlugin } from "@elizaos/plugin-tee-marlin" ;
79
79
import { tonPlugin } from "@elizaos/plugin-ton" ;
80
80
import { webSearchPlugin } from "@elizaos/plugin-web-search" ;
81
81
82
+ import { coingeckoPlugin } from "@elizaos/plugin-coingecko" ;
82
83
import { giphyPlugin } from "@elizaos/plugin-giphy" ;
83
84
import { letzAIPlugin } from "@elizaos/plugin-letzai" ;
84
85
import { thirdwebPlugin } from "@elizaos/plugin-thirdweb" ;
@@ -608,7 +609,6 @@ export async function createAgent(
608
609
? confluxPlugin
609
610
: null ,
610
611
nodePlugin ,
611
- coinPricePlugin ,
612
612
getSecret ( character , "TAVILY_API_KEY" ) ? webSearchPlugin : null ,
613
613
getSecret ( character , "SOLANA_PUBLIC_KEY" ) ||
614
614
( getSecret ( character , "WALLET_PUBLIC_KEY" ) &&
@@ -668,9 +668,9 @@ export async function createAgent(
668
668
: [ ] ) ,
669
669
...( teeMode !== TEEMode . OFF && walletSecretSalt ? [ teePlugin ] : [ ] ) ,
670
670
getSecret ( character , "SGX" ) ? sgxPlugin : null ,
671
- ( getSecret ( character , "ENABLE_TEE_LOG" ) &&
672
- ( ( teeMode !== TEEMode . OFF && walletSecretSalt ) ||
673
- getSecret ( character , "SGX" ) ) )
671
+ getSecret ( character , "ENABLE_TEE_LOG" ) &&
672
+ ( ( teeMode !== TEEMode . OFF && walletSecretSalt ) ||
673
+ getSecret ( character , "SGX" ) )
674
674
? teeLogPlugin
675
675
: null ,
676
676
getSecret ( character , "COINBASE_API_KEY" ) &&
@@ -679,7 +679,10 @@ export async function createAgent(
679
679
? webhookPlugin
680
680
: null ,
681
681
goatPlugin ,
682
- getSecret ( character , "COINGECKO_API_KEY" ) ? coingeckoPlugin : null ,
682
+ getSecret ( character , "COINGECKO_API_KEY" ) ||
683
+ getSecret ( character , "COINGECKO_PRO_API_KEY" )
684
+ ? coingeckoPlugin
685
+ : null ,
683
686
getSecret ( character , "EVM_PROVIDER_URL" ) ? goatPlugin : null ,
684
687
getSecret ( character , "ABSTRACT_PRIVATE_KEY" )
685
688
? abstractPlugin
0 commit comments