File tree 3 files changed +2
-15
lines changed
packages/plugin-zksync-era/src/actions
3 files changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -212,9 +212,6 @@ TOGETHER_API_KEY=
212
212
# Server Configuration
213
213
SERVER_PORT = 3000
214
214
215
- # Web Search Config
216
- ENABLE_WEBSEARCH = false # boolean value, defaults to false
217
-
218
215
# Abstract Configuration
219
216
ABSTRACT_ADDRESS =
220
217
ABSTRACT_PRIVATE_KEY =
Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import { LensAgentClient } from "@elizaos/client-lens";
7
7
import { SlackClientInterface } from "@elizaos/client-slack" ;
8
8
import { TelegramClientInterface } from "@elizaos/client-telegram" ;
9
9
import { TwitterClientInterface } from "@elizaos/client-twitter" ;
10
- import { webSearchPlugin } from "@elizaos/plugin-web-search" ;
11
10
import {
12
11
AgentRuntime ,
13
12
CacheManager ,
@@ -526,10 +525,6 @@ export async function createAgent(
526
525
// character.plugins are handled when clients are added
527
526
plugins : [
528
527
bootstrapPlugin ,
529
- parseBooleanFromText ( getSecret ( character , "ENABLE_WEBSEARCH" ) ) ===
530
- true
531
- ? webSearchPlugin
532
- : null ,
533
528
getSecret ( character , "CONFLUX_CORE_PRIVATE_KEY" )
534
529
? confluxPlugin
535
530
: null ,
Original file line number Diff line number Diff line change @@ -14,12 +14,7 @@ import {
14
14
import { validateZKsyncConfig } from "../enviroment" ;
15
15
16
16
import { Web3 } from "web3" ;
17
- import {
18
- ZKsyncPlugin ,
19
- ZKsyncWallet ,
20
- types ,
21
- Web3ZKsyncL2 ,
22
- } from "web3-plugin-zksync" ;
17
+ import { ZKsyncPlugin , types , Web3ZKsyncL2 } from "web3-plugin-zksync" ;
23
18
24
19
export interface TransferContent extends Content {
25
20
tokenAddress : string ;
@@ -89,7 +84,7 @@ export default {
89
84
"PAY_ON_ZKSYNC" ,
90
85
"PAY_ON_ERA" ,
91
86
] ,
92
- validate : async ( runtime : IAgentRuntime , message : Memory ) => {
87
+ validate : async ( runtime : IAgentRuntime , _message : Memory ) => {
93
88
await validateZKsyncConfig ( runtime ) ;
94
89
return true ;
95
90
} ,
You can’t perform that action at this time.
0 commit comments