litellm
litellm copied to clipboard
[Feature]: code_execution support for Gemini 1.5 pro and 1.5 flash models
The Feature
https://ai.google.dev/gemini-api/docs/code-execution?lang=python
It doesn't seem to be supported in LLM when I try putting it as a tool in the completion method, it doesn't execute any python code
Motivation, pitch
I've been using it so the model can execute Python code that involves math (arithmetic, sympy, etc), this would be useful for certain tasks that requires computation which LLMs are normally not good at
Twitter / LinkedIn details
@zavocc on X