mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-16 21:05:17 +00:00
Merge pull request #876 from randy-tsukemen/fix-duplication
Fix duplicate assignment of replicate_key in LiteLLMAIHandler
This commit is contained in:
commit
19f239ae3d
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