MCPcopy
hub / github.com/lobehub/lobehub / query

Method query

apps/server/src/services/search/index.ts:181–183  ·  view source on GitHub ↗

* Query for search results (uses the first provider)

(query: string, params?: SearchParams)

Source from the content-addressed store, hash-verified

179 * Query for search results (uses the first provider)
180 */
181 async query(query: string, params?: SearchParams) {
182 return this.queryWithImpl(this.searchImpList[0], query, params);
183 }
184
185 async webSearch({ query, searchCategories, searchEngines, searchTimeRange }: SearchQuery) {
186 try {

Callers 15

findBotFunction · 0.45
resolvePlatformFunction · 0.45
registerBotCommandFunction · 0.45
registerTopicCommandFunction · 0.45
registerVerifyCommandFunction · 0.45
registerPluginCommandFunction · 0.45
registerProviderCommandFunction · 0.45
registerKbCommandFunction · 0.45
fetchItemsFunction · 0.45
registerConfigCommandFunction · 0.45

Calls 1

queryWithImplMethod · 0.95

Tested by

no test coverage detected