Skip to content

Commit 2915a61

Browse files
authored
Merge branch 'develop' into fix-echo
2 parents 1435179 + 370faa0 commit 2915a61

File tree

3 files changed

+2
-15
lines changed

3 files changed

+2
-15
lines changed

.env.example

-3
Original file line numberDiff line numberDiff line change
@@ -212,9 +212,6 @@ TOGETHER_API_KEY=
212212
# Server Configuration
213213
SERVER_PORT=3000
214214

215-
# Web Search Config
216-
ENABLE_WEBSEARCH=false # boolean value, defaults to false
217-
218215
# Abstract Configuration
219216
ABSTRACT_ADDRESS=
220217
ABSTRACT_PRIVATE_KEY=

agent/src/index.ts

-5
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import { LensAgentClient } from "@elizaos/client-lens";
77
import { SlackClientInterface } from "@elizaos/client-slack";
88
import { TelegramClientInterface } from "@elizaos/client-telegram";
99
import { TwitterClientInterface } from "@elizaos/client-twitter";
10-
import { webSearchPlugin } from "@elizaos/plugin-web-search";
1110
import {
1211
AgentRuntime,
1312
CacheManager,
@@ -526,10 +525,6 @@ export async function createAgent(
526525
// character.plugins are handled when clients are added
527526
plugins: [
528527
bootstrapPlugin,
529-
parseBooleanFromText(getSecret(character, "ENABLE_WEBSEARCH")) ===
530-
true
531-
? webSearchPlugin
532-
: null,
533528
getSecret(character, "CONFLUX_CORE_PRIVATE_KEY")
534529
? confluxPlugin
535530
: null,

packages/plugin-zksync-era/src/actions/transfer.ts

+2-7
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,7 @@ import {
1414
import { validateZKsyncConfig } from "../enviroment";
1515

1616
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";
2318

2419
export interface TransferContent extends Content {
2520
tokenAddress: string;
@@ -89,7 +84,7 @@ export default {
8984
"PAY_ON_ZKSYNC",
9085
"PAY_ON_ERA",
9186
],
92-
validate: async (runtime: IAgentRuntime, message: Memory) => {
87+
validate: async (runtime: IAgentRuntime, _message: Memory) => {
9388
await validateZKsyncConfig(runtime);
9489
return true;
9590
},

0 commit comments

Comments
 (0)