add palm warning

This commit is contained in:
ishaan-jaff 2023-09-26 10:28:13 -07:00
parent 61201c1b8f
commit cab100af11
2 changed files with 5 additions and 3 deletions

View file

@ -27,8 +27,10 @@ def completion(
litellm_params=None,
logger_fn=None,
):
import google.generativeai as palm
try:
import google.generativeai as palm
except:
raise Exception("Importing google.generativeai failed, please run 'pip install -q google-generativeai")
palm.configure(api_key=api_key)
model = model

View file

@ -1,6 +1,6 @@
[tool.poetry]
name = "litellm"
version = "0.1.762"
version = "0.1.763"
description = "Library to easily interface with LLM API providers"
authors = ["BerriAI"]
license = "MIT License"