MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / headersToRecord

Function headersToRecord

packages/agent-runtime/src/llm-api/serper-api.ts:32–38  ·  view source on GitHub ↗
(headers: Headers)

Source from the content-addressed store, hash-verified

30}
31
32const headersToRecord = (headers: Headers): Record<string, string> => {
33 const record: Record<string, string> = {}
34 headers.forEach((value, key) => {
35 record[key] = value
36 })
37 return record
38}
39
40export async function searchWeb(options: {
41 query: string

Callers 1

searchWebFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected