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
Given the aforementioned code, I expect response_model to be the correct model that the responding agent was sending.
Observed Behavior
response_model is indeed the wrong model and that is because we only parse the body of the message and associate the result with whatever model "fits" the given body.
Changing this requires adding the digest into the equation or passing some other metadata along the internal dispatcher module.
To Reproduce
Set up two agents (A, B)
Set up three messages (Request, Response_A, Response_B)
Make both response models have the same structure
execute await ctx.send_and_receive() and compare the result
Version
v0.22.1
Environment Details (Optional)
Failure Logs (Optional)
Additional Information (Optional)
The text was updated successfully, but these errors were encountered:
Prerequisites
Category
Bug (unexpected behavior)
Expected Behavior
Given the aforementioned code, I expect
response_model
to be the correct model that the responding agent was sending.Observed Behavior
response_model
is indeed the wrong model and that is because we only parse the body of the message and associate the result with whatever model "fits" the given body.Changing this requires adding the digest into the equation or passing some other metadata along the internal dispatcher module.
To Reproduce
await ctx.send_and_receive()
and compare the resultVersion
v0.22.1
Environment Details (Optional)
Failure Logs (Optional)
Additional Information (Optional)
The text was updated successfully, but these errors were encountered: