mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-12 10:55:17 +00:00
repetition_penalty
Correct the spelling of this variable. Fix spelling errors now will prevent issues going forward where people have to misspell something on purpose
This commit is contained in:
parent
4db428456d
commit
5268a84bcc
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ class LiteLLMAIHandler(BaseAiHandler):
|
||||||
if get_settings().get("OLLAMA.API_BASE", None):
|
if get_settings().get("OLLAMA.API_BASE", None):
|
||||||
litellm.api_base = get_settings().ollama.api_base
|
litellm.api_base = get_settings().ollama.api_base
|
||||||
self.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)
|
self.repetition_penalty = float(get_settings().huggingface.repetition_penalty)
|
||||||
if get_settings().get("VERTEXAI.VERTEX_PROJECT", None):
|
if get_settings().get("VERTEXAI.VERTEX_PROJECT", None):
|
||||||
litellm.vertex_project = get_settings().vertexai.vertex_project
|
litellm.vertex_project = get_settings().vertexai.vertex_project
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue