From 9b47b747eeaf10530f3b86c3e1d652e2c23ce382 Mon Sep 17 00:00:00 2001 From: Shakker Nerd Date: Fri, 3 Jan 2025 03:54:44 +0000 Subject: [PATCH 1/3] chore: remove double imports --- agent/src/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/agent/src/index.ts b/agent/src/index.ts index 2949e71022..530eed0021 100644 --- a/agent/src/index.ts +++ b/agent/src/index.ts @@ -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, From ca6187d55245eb5487692cd901ca02d682e3ec28 Mon Sep 17 00:00:00 2001 From: Shakker Nerd Date: Fri, 3 Jan 2025 03:55:44 +0000 Subject: [PATCH 2/3] chore: remove redundant web search implementation --- agent/src/index.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/agent/src/index.ts b/agent/src/index.ts index 530eed0021..39223015db 100644 --- a/agent/src/index.ts +++ b/agent/src/index.ts @@ -524,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, From b934e42da8d950d40530653b43ef6be294c9830d Mon Sep 17 00:00:00 2001 From: Shakker Nerd Date: Fri, 3 Jan 2025 03:56:41 +0000 Subject: [PATCH 3/3] chore: remove redundant env --- .env.example | 3 --- 1 file changed, 3 deletions(-) diff --git a/.env.example b/.env.example index 86d63e8255..dc721e933f 100644 --- a/.env.example +++ b/.env.example @@ -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=