Skip to content

Commit

Permalink
Merge pull request #1718 from elizaOS/fix/agent_index
Browse files Browse the repository at this point in the history
fix: multiple web search import in agent
  • Loading branch information
shakkernerd authored Jan 3, 2025
2 parents 6c388cd + b934e42 commit a01232c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 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 @@ -525,10 +524,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

0 comments on commit a01232c

Please sign in to comment.