diff --git a/src/app/api/suggestions/route.ts b/src/app/api/suggestions/route.ts index 0c70cba..07432d6 100644 --- a/src/app/api/suggestions/route.ts +++ b/src/app/api/suggestions/route.ts @@ -1,7 +1,6 @@ import generateSuggestions from '@/lib/agents/suggestions'; import ModelRegistry from '@/lib/models/registry'; import { ModelWithProvider } from '@/lib/models/types'; -import { AIMessage, BaseMessage, HumanMessage } from '@langchain/core/messages'; interface SuggestionsGenerationBody { chatHistory: any[]; diff --git a/src/lib/agents/search/researcher/actions/scrapeURL.ts b/src/lib/agents/search/researcher/actions/scrapeURL.ts index 3d3173e..c702a70 100644 --- a/src/lib/agents/search/researcher/actions/scrapeURL.ts +++ b/src/lib/agents/search/researcher/actions/scrapeURL.ts @@ -15,7 +15,7 @@ Use this tool to scrape and extract content from the provided URLs. This is usef You should only call this tool when the user has specifically requested information from certain web pages, never call this yourself to get extra information without user instruction. For example, if the user says "Please summarize the content of https://example.com/article", you can call this tool with that URL to get the content and then provide the summary or "What does X mean according to https://example.com/page", you can call this tool with that URL to get the content and provide the explanation. -` +`; const scrapeURLAction: ResearchAction = { name: 'scrape_url',