Skip to content

Commit

Permalink
Merge branch 'develop' into feat/tee
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuochengWang authored Jan 3, 2025
2 parents 3bd9663 + 6842018 commit be2f730
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 15 deletions.
3 changes: 0 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,6 @@ TOGETHER_API_KEY=
# Server Configuration
SERVER_PORT=3000

# Web Search Config
ENABLE_WEBSEARCH=false # boolean value, defaults to false

# Abstract Configuration
ABSTRACT_ADDRESS=
ABSTRACT_PRIVATE_KEY=
Expand Down
5 changes: 0 additions & 5 deletions agent/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { LensAgentClient } from "@elizaos/client-lens";
import { SlackClientInterface } from "@elizaos/client-slack";
import { TelegramClientInterface } from "@elizaos/client-telegram";
import { TwitterClientInterface } from "@elizaos/client-twitter";
import { webSearchPlugin } from "@elizaos/plugin-web-search";
import {
AgentRuntime,
CacheManager,
Expand Down Expand Up @@ -527,10 +526,6 @@ export async function createAgent(
// character.plugins are handled when clients are added
plugins: [
bootstrapPlugin,
parseBooleanFromText(getSecret(character, "ENABLE_WEBSEARCH")) ===
true
? webSearchPlugin
: null,
getSecret(character, "CONFLUX_CORE_PRIVATE_KEY")
? confluxPlugin
: null,
Expand Down
9 changes: 2 additions & 7 deletions packages/plugin-zksync-era/src/actions/transfer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,7 @@ import {
import { validateZKsyncConfig } from "../enviroment";

import { Web3 } from "web3";
import {
ZKsyncPlugin,
ZKsyncWallet,
types,
Web3ZKsyncL2,
} from "web3-plugin-zksync";
import { ZKsyncPlugin, types, Web3ZKsyncL2 } from "web3-plugin-zksync";

export interface TransferContent extends Content {
tokenAddress: string;
Expand Down Expand Up @@ -89,7 +84,7 @@ export default {
"PAY_ON_ZKSYNC",
"PAY_ON_ERA",
],
validate: async (runtime: IAgentRuntime, message: Memory) => {
validate: async (runtime: IAgentRuntime, _message: Memory) => {
await validateZKsyncConfig(runtime);
return true;
},
Expand Down

0 comments on commit be2f730

Please sign in to comment.