mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-04-25 00:51:20 +00:00
fix(hindsight): preserve non-ASCII text in retained conversation turns
This commit is contained in:
parent
a5c7422f23
commit
d6b65bbc47
2 changed files with 17 additions and 1 deletions
|
|
@ -890,7 +890,7 @@ class HindsightMemoryProvider(MemoryProvider):
|
|||
if session_id:
|
||||
self._session_id = str(session_id).strip()
|
||||
|
||||
turn = json.dumps(self._build_turn_messages(user_content, assistant_content))
|
||||
turn = json.dumps(self._build_turn_messages(user_content, assistant_content), ensure_ascii=False)
|
||||
self._session_turns.append(turn)
|
||||
self._turn_counter += 1
|
||||
self._turn_index = self._turn_counter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue