Skip to content

feat(genai): add native support for File Search built-in tool#1483

Open
Paweł Siwak (sivvak) wants to merge 2 commits into
langchain-ai:mainfrom
sivvak:sivvak/support-file-search
Open

feat(genai): add native support for File Search built-in tool#1483
Paweł Siwak (sivvak) wants to merge 2 commits into
langchain-ai:mainfrom
sivvak:sivvak/support-file-search

Conversation

@sivvak
Copy link
Copy Markdown

Description

This PR adds a native support for the File Search built-in tool added by Google recently. From now, it should be possible to simply declare file search as one of the tools in create_agent arguments.

Relevant issues

Fixes #1482

Type

🆕 New Feature

Changes(optional)

Testing(optional)

Note(optional)

@lkuligin
Copy link
Copy Markdown
Collaborator

Could you add an integration test, please?

@sivvak
Copy link
Copy Markdown
Author

Leonid Kuligin (@lkuligin) there you go 😃

@sivvak
Copy link
Copy Markdown
Author

Leonid Kuligin (@lkuligin) Mason Daugherty (@mdrxy) any update on merging this? I believe it's ready to be shipped

@sivvak
Copy link
Copy Markdown
Author

Mason Daugherty (@mdrxy) yet another bump. Is there any reason not to merge it?

@sivvak Paweł Siwak (sivvak) force-pushed the sivvak/support-file-search branch from d1dbdc6 to 5b1b86f Compare May 25, 2026 11:44
@sivvak
Copy link
Copy Markdown
Author

Mason Daugherty (@mdrxy) Leonid Kuligin (@lkuligin) yet another bump on this.

I believe that's not an issue on my side 🙈

google.genai.errors.ClientError: 404 NOT_FOUND. {'error': {'code': 404, 'message': 'models/gemini-2.5-flash is not found for API version v1beta, or is not supported for generateContent. Call ModelService.ListModels to see the list of available models and their supported methods.', 'status': 'NOT_FOUND'}}

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.

Support for File Search

3 participants