From eaaf7142f6c6003195d4e0665200a7f592ceeda5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 27 May 2026 07:41:37 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- studio/backend/core/inference/llama_cpp.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/studio/backend/core/inference/llama_cpp.py b/studio/backend/core/inference/llama_cpp.py index d952bb8660..6020721c24 100644 --- a/studio/backend/core/inference/llama_cpp.py +++ b/studio/backend/core/inference/llama_cpp.py @@ -5453,7 +5453,9 @@ class LlamaCppBackend: if skip_special_tokens is not None: stream_payload["skip_special_tokens"] = skip_special_tokens if spaces_between_special_tokens is not None: - stream_payload["spaces_between_special_tokens"] = spaces_between_special_tokens + stream_payload["spaces_between_special_tokens"] = ( + spaces_between_special_tokens + ) if include_stop_str_in_output is not None: stream_payload["include_stop_str_in_output"] = include_stop_str_in_output if truncate_prompt_tokens is not None: