Skip to content

Commit

Permalink
add .value (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
binary-husky authored Oct 17, 2024
1 parent 2748139 commit 68d9524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion memoryscope/core/chat/api_memory_chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def chat_with_memory(self,
system_prompt_list.extend(temporary_memories)

system_prompt_join = "\n".join([x.strip() for x in system_prompt_list])
system_message = Message(role=MessageRoleEnum.SYSTEM, content=system_prompt_join)
system_message = Message(role=MessageRoleEnum.SYSTEM.value, content=system_prompt_join)
chat_messages.append(system_message)

# Include past conversation history in the message list
Expand Down

0 comments on commit 68d9524

Please sign in to comment.