Skip to content

Commit 30a7b3c

Browse files
committed
ux: Only keep the "call" action when creating a new claim
See #397
1 parent 516bacc commit 30a7b3c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/helpers/llm_tools.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,7 @@ async def new_claim(
9898
content="",
9999
persona=MessagePersonaEnum.HUMAN,
100100
),
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).
103102
],
104103
)
105104
)

0 commit comments

Comments
 (0)