eliza icon indicating copy to clipboard operation
eliza copied to clipboard

refactor: websearch into a service

Open chuasonglin1995 opened this issue 11 months ago • 1 comments

Relates to

Remove Tavily from core https://github.com/elizaOS/eliza/issues/2123

Risks

Low. While it touches core, its mainly to remove tavily from core and turn it into a service.

Background

What does this PR do?

Main change that is requested from lalatune

  • Remove Tavily from core and convert it into a service.

Other things that I did:

  • [Improvement]: Added suppressInitialMessage for webSearch Action. If not the conversation would have two messages
  • [Improvement]: Websearch plugin was created in the early ages, so it did not follow the standard that was set. Plugins should be created with folders - /actions, /evaluators etc

Documentation changes needed?

I added some instructions so that others can also use this webSearchService outside of the agents.

image

Testing

Works well Screenshot 2025-01-12 at 11 39 01 PM

Discord username

--> song_45935

chuasonglin1995 avatar Jan 12 '25 10:01 chuasonglin1995

I just tested it, and it works well! 😊

tcm390 avatar Jan 12 '25 17:01 tcm390

lfg

wtfsayo avatar Jan 15 '25 13:01 wtfsayo