0.1.241
Gemini support via litellm. See docs https://langroid.github.io/langroid/tutorials/non-openai-llms/
Essentially, you need to:
- install
langroid
with thelitellm
extra, e.g.pip install "langroid[litellm]"
- set up your
GEMINI_API_KEY
in the.env
file or shell env - specify
chat_model="litellm/gemini/gemini-1.5-pro-latest"