Skip to content

feat (provider/google): Added URL context Tool #6443

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

patelvivekdev
Copy link
Contributor

Background

Google Generative AI has introduced a URL context feature that allows developers to provide specific URLs for the model to analyze directly in prompts. This PR adds support for this feature in the AI SDK's Google provider.

Summary

feat (provider/google): Added URL context Tool

Verification

Tested manually with generateText and streamText in ai-core examples

Tasks

  • Tests have been added / updated (for bug fixes / features)
  • Documentation has been added / updated (for bug fixes / features)
  • A patch changeset for relevant packages has been added (for bug fixes / features - run pnpm changeset in the project root)
  • Formatting issues have been fixed (run pnpm prettier-fix in the project root)

Future Work

Related Issues

- Introduced the URL context tool for Gemini, allowing users to provide specific URLs for model analysis.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant