Skip to content

Commit

Permalink
Fix nested quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel committed Feb 5, 2025
1 parent 4bd5995 commit da60b2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neon_llm_vllm/vllm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand All @@ -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]

Expand Down

0 comments on commit da60b2f

Please sign in to comment.