Get a daily random issue suggestion from any GitHub repository
Anthropic just announced the availability of web search in their API. This feature is really exciting to me.
Added support for what is presented in the documentation.
I currently just got it to work:
const gen = await generateText({
model,
prompt,
tools: {
web_search: anthropic.tools.webSearch_20250305({
max_uses: 2,
}),
},
maxSteps: 3
})
pnpm changeset
in the project root)pnpm prettier-fix
in the project root)I've only contributed to documentation before, I hope this will help. And I'd also understand if it doesn't, I really don't mind if this gets closed for any reason.
I don't know how to write tests my self, must admit these have been wrote by Gemini.