Skip to content
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

Code Execution support for VertexAI #11471

Open
tjerkw opened this issue Mar 5, 2025 · 1 comment
Open

Code Execution support for VertexAI #11471

tjerkw opened this issue Mar 5, 2025 · 1 comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@tjerkw
Copy link

tjerkw commented Mar 5, 2025

Problem
Currently we cannot use this library to tell VertexAI / Gemini to use CodeExecution as a tool to use.

Describe the solution you'd like
The Tool or GenerativeModel should allow enabling tool use, for example

com.google.cloud.vertexai.api.Tool.newBuilder().enableCodeExecution(true)

com.google.cloud.vertexai.api.Tool.newBuilder().addCodeExecutionTool(
new CodeExecutionTool()
)

@tjerkw
Copy link
Author

tjerkw commented Mar 5, 2025

@blakeli0 blakeli0 added type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. priority: p2 Moderately-important priority. Fix may not be included in next release. labels Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

2 participants