Add Brave Search web search tool - #16
Open
miguelenes wants to merge 2 commits into
Open
Conversation
Consumers on laravel/ai 0.10 cannot install any toolkit package today because every composer.json pins ^0.7. The Tool contract, Strict attribute, Request accessors, and JsonSchema surface used by these tools are unchanged in 0.10, and the full suite stays green after the bump. Co-authored-by: Cursor <cursoragent@cursor.com>
Introduces shipfastlabs/toolkit-brave with BraveSearch (GET /res/v1/web/search via X-Subscription-Token) and a Brave::all() registry. Credentials live in services.brave.key; defaults under ai.toolkit.brave.search.*. News/image/local endpoints are deferred. Co-authored-by: Cursor <cursoragent@cursor.com>
|
@miguelenes is attempting to deploy a commit to the Pushpak Chhajed's projects Team on Vercel. A member of the Team first needs to authorize it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
src/Bravepackage (shipfastlabs/toolkit-brave) withBraveSearchandBrave::all().GET https://api.search.brave.com/res/v1/web/searchwithX-Subscription-Token.services.brave.keyand defaults fromai.toolkit.brave.search.*.Depends on
Please also merge #15 (
laravel/aiconstraint widen to^0.7|^0.10) so consumers on modernlaravel/aican install this.Labels
Please apply
new-tool.Test plan
composer testgreen (pint + rector + phpstan + 100% type/code coverage)Made with Cursor