mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-28 04:04:31 +00:00
fix cleanup
This commit is contained in:
parent
6a5d5bcd47
commit
b3f62b7ce3
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ def phind_codellama_pt(messages):
|
||||||
|
|
||||||
|
|
||||||
def hf_chat_template(model: str, messages: list, chat_template: Optional[Any] = None):
|
def hf_chat_template(model: str, messages: list, chat_template: Optional[Any] = None):
|
||||||
# Define Jinja2 environment with autoescaping disabled
|
# Define Jinja2 environment
|
||||||
env = ImmutableSandboxedEnvironment()
|
env = ImmutableSandboxedEnvironment()
|
||||||
|
|
||||||
def raise_exception(message):
|
def raise_exception(message):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue