mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 02:45:18 +00:00
Fix duplicate assignment of replicate_key in LiteLLMAIHandler
This commit is contained in:
parent
e429c5d012
commit
7a9e73702d
1 changed files with 0 additions and 2 deletions
|
|
@ -54,8 +54,6 @@ class LiteLLMAIHandler(BaseAiHandler):
|
||||||
litellm.cohere_key = get_settings().cohere.key
|
litellm.cohere_key = get_settings().cohere.key
|
||||||
if get_settings().get("REPLICATE.KEY", None):
|
if get_settings().get("REPLICATE.KEY", None):
|
||||||
litellm.replicate_key = get_settings().replicate.key
|
litellm.replicate_key = get_settings().replicate.key
|
||||||
if get_settings().get("REPLICATE.KEY", None):
|
|
||||||
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.API_BASE", None) and 'huggingface' in get_settings().config.model:
|
if get_settings().get("HUGGINGFACE.API_BASE", None) and 'huggingface' in get_settings().config.model:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue