Skip to content

Commit

Permalink
changed suffixing persona id with underscore
Browse files Browse the repository at this point in the history
  • Loading branch information
kirgrim committed Mar 21, 2024
1 parent 9616381 commit 0a48463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neon_llm_core/utils/personas/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def add_persona_handler(self, persona: PersonaModel) -> Union[LLMBot, None]:
LOG.warning(f"Persona disabled: '{persona.id}'")
return
# Get a configured username to use for LLM submind connections
persona_id = f"{persona.id}-{self.service_name}"
persona_id = f"{persona.id}_{self.service_name}"
self.ovos_config["MQ"]["users"][persona_id] = self.mq_config['users']['neon_llm_submind']
bot = LLMBot(llm_name=self.service_name, service_name=persona_id,
persona=persona_dict, config=self.ovos_config,
Expand Down

0 comments on commit 0a48463

Please sign in to comment.