Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kirgrim committed Mar 18, 2024
1 parent 9590012 commit 9616381
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neon_llm_core/utils/personas/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def personas(self, data):
if data and isinstance(data, list):
self._personas = data
self._persona_last_sync = now
self._persona_handlers_state.clean_up_personas(exclude_items=self._personas)
self._persona_handlers_state.clean_up_personas(ignore_items=self._personas)
elif now - self._persona_last_sync > self.PERSONA_STATE_TTL:
LOG.warning(f'Persona state TTL expired, resetting personas config')
self._personas = []
Expand Down

0 comments on commit 9616381

Please sign in to comment.