forked from phoenix/litellm-mirror
add palm warning
This commit is contained in:
parent
61201c1b8f
commit
cab100af11
2 changed files with 5 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue