mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-06 05:40:38 +08:00
update litellm
This commit is contained in:
@ -48,8 +48,6 @@ class AiHandler:
|
|||||||
litellm.replicate_key = get_settings().replicate.key
|
litellm.replicate_key = get_settings().replicate.key
|
||||||
if get_settings().get("HUGGINGFACE.KEY", None):
|
if get_settings().get("HUGGINGFACE.KEY", None):
|
||||||
litellm.huggingface_key = get_settings().huggingface.key
|
litellm.huggingface_key = get_settings().huggingface.key
|
||||||
if get_settings().get("HUGGINGFACE.KEY", None):
|
|
||||||
litellm.huggingface_key = get_settings().huggingface.key
|
|
||||||
except AttributeError as e:
|
except AttributeError as e:
|
||||||
raise ValueError("OpenAI key is required") from e
|
raise ValueError("OpenAI key is required") from e
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@ dependencies = [
|
|||||||
"atlassian-python-api==3.39.0",
|
"atlassian-python-api==3.39.0",
|
||||||
"GitPython~=3.1.32",
|
"GitPython~=3.1.32",
|
||||||
"starlette-context==0.3.6",
|
"starlette-context==0.3.6",
|
||||||
"litellm~=0.1.351",
|
"litellm~=0.1.445",
|
||||||
"PyYAML==6.0",
|
"PyYAML==6.0",
|
||||||
"boto3~=1.28.25"
|
"boto3~=1.28.25"
|
||||||
]
|
]
|
||||||
|
Reference in New Issue
Block a user