A code executor that uses the Model's built-in code executor.
Currently only supports Gemini 2.0+ models, but will be expanded to other models.
Protected
Readonly
Executes code and returns the code execution result.
Pre-process the LLM request for Gemini 2.0+ models to use the code execution tool
A code executor that uses the Model's built-in code executor.
Currently only supports Gemini 2.0+ models, but will be expanded to other models.