mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-13 03:15:17 +00:00
Merge pull request #974 from brianteeman/repetition_penalty
repetition_penalty
This commit is contained in:
commit
73ec67b14e
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ class LiteLLMAIHandler(BaseAiHandler):
|
|||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue