| 1 | import { fetchSearchResults } from "../../context/providers/WebContextProvider"; |
| 2 | |
| 3 | import { ToolImpl } from "."; |
| 4 | |
| 5 | export const searchWebImpl: ToolImpl = async (args, extras) => { |
| 6 | const webResults = await fetchSearchResults(args.query, 5, extras.fetch); |
| 7 | return webResults; |
| 8 | }; |