Skip to content

Commit

Permalink
ux: Only keep the "call" action when creating a new claim
Browse files Browse the repository at this point in the history
See #397
  • Loading branch information
clemlesne committed Jan 21, 2025
1 parent 516bacc commit 30a7b3c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/helpers/llm_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,7 @@ async def new_claim(
content="",
persona=MessagePersonaEnum.HUMAN,
),
# 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
self.call.messages[-1],
# 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).
],
)
)
Expand Down

0 comments on commit 30a7b3c

Please sign in to comment.