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:
BrianTeeman
2024-06-16 17:28:30 +01:00
parent 4db428456d
commit 5268a84bcc

View File

@ -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