You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: app/helpers/llm_tools.py
+1-2
Original file line number
Diff line number
Diff line change
@@ -98,8 +98,7 @@ async def new_claim(
98
98
content="",
99
99
persona=MessagePersonaEnum.HUMAN,
100
100
),
101
-
# Reinsert the last message, using more will add the user message asking to create the new claim and the assistant can loop on it sometimes
102
-
self.call.messages[-1],
101
+
# TODO: Should it be a reminder for the last conversation subject? It would allow to keep the context of the conversation. Keeping the last message in the history is felt as weird for users (see: https://github.com/microsoft/call-center-ai/issues/397).
0 commit comments