Readonly[A unique symbol to identify BaseCodeExecutor class.
Readonly[A unique symbol to identify BuiltInCodeExecutor class.
The list of the enclosing delimiters to identify the code blocks.
For example, the delimiter('python\\n', '\\n') can be used to
identify code blocks with the following format::
print("hello")
The number of attempts to retry on consecutive code execution errors. Default to 2.
The delimiters to format the code execution result.
If true, extract and process data files from the model request and attach them to the code executor.
Supported data file MimeTypes are [text/csv]. Default to false.
Whether the code executor is stateful. Default to false.
Executes code and return the code execution result.
The result of the code execution.
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.