From da60b2fa82e8b426e147cee05bf70f7746b17354 Mon Sep 17 00:00:00 2001 From: Daniel McKnight Date: Wed, 5 Feb 2025 15:49:21 -0800 Subject: [PATCH] Fix nested quotes --- neon_llm_vllm/vllm.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/neon_llm_vllm/vllm.py b/neon_llm_vllm/vllm.py index 072d835..cf6a92b 100644 --- a/neon_llm_vllm/vllm.py +++ b/neon_llm_vllm/vllm.py @@ -202,7 +202,7 @@ def parse_persona_dict(self, persona: dict) -> dict: # fall back to first model model_name = list(self.models.keys())[0] LOG.error(f"Invalid model requested: " - f"{description.split(",")[0].strip()}. " + f"{description.split(',')[0].strip()}. " f"Inferred model={model_name}") model = self.models[model_name] @@ -215,7 +215,7 @@ def parse_persona_dict(self, persona: dict) -> dict: # fall back to first persona persona_name = list(model.personas.keys())[0] LOG.error(f"Invalid persona requested: " - f"{description.split(",")[1].strip()}. " + f"{description.split(',')[1].strip()}. " f"Inferred persona={persona_name}") system_prompt = model.personas[persona_name]