mirror of
https://github.com/jina-ai/node-DeepResearch.git
synced 2026-03-22 15:39:06 +08:00
chore: first commit
This commit is contained in:
@@ -25,12 +25,6 @@ export async function braveSearch(query: string): Promise<{ response: BraveSearc
|
||||
timeout: 10000
|
||||
});
|
||||
|
||||
// Keep the same console.log as the original code
|
||||
console.log('Brave Search:', response.data.web.results.map(item => ({
|
||||
title: item.title,
|
||||
url: item.url
|
||||
})));
|
||||
|
||||
// Maintain the same return structure as the original code
|
||||
return { response: response.data };
|
||||
}
|
||||
Reference in New Issue
Block a user