litellm icon indicating copy to clipboard operation
litellm copied to clipboard

[Feature]: code_execution support for Gemini 1.5 pro and 1.5 flash models

Open zavocc opened this issue 1 year ago • 0 comments

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

zavocc avatar Oct 25 '24 10:10 zavocc