-
Notifications
You must be signed in to change notification settings - Fork 337
Open
Description
Prerequisites
- I checked the documentation and found no answer to my problem
- I checked the existing issues and made sure there are no similar bug reports
Category
Bug (unexpected behavior)
Expected Behavior
While getting a message back in send_and_recieve from chat protocol. it should ignore chatAcknowledgment and consider only chatMessage
Observed Behavior
I noticed a bug from hackathon participants where if an agent receives a ChatAcknowledgement message before a ChatMessage, and in the case ctx.send_and_receive expects a ChatMessage, the ctx.send_and_receive function errors out. It seems to detect the first message type and fails to process the subsequent one properly. This could happen to other message schemas too other than ChatProtocol-related ones.
To Reproduce
No response
Version
0.22.10