Skip to content

Commit

Permalink
Merge pull request #974 from brianteeman/repetition_penalty
Browse files Browse the repository at this point in the history
repetition_penalty
  • Loading branch information
mrT23 authored Jun 17, 2024
2 parents 790dcc5 + 5268a84 commit 73ec67b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pr_agent/algo/ai_handlers/litellm_ai_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def __init__(self):
if get_settings().get("OLLAMA.API_BASE", None):
litellm.api_base = get_settings().ollama.api_base
self.api_base = get_settings().ollama.api_base
if get_settings().get("HUGGINGFACE.REPITITION_PENALTY", None):
if get_settings().get("HUGGINGFACE.REPETITION_PENALTY", None):
self.repetition_penalty = float(get_settings().huggingface.repetition_penalty)
if get_settings().get("VERTEXAI.VERTEX_PROJECT", None):
litellm.vertex_project = get_settings().vertexai.vertex_project
Expand Down

0 comments on commit 73ec67b

Please sign in to comment.