-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
During Teachability dialogues, the agent does not trigger is_termination_msg. #2680
Comments
What happens if you just comment out the line that calls |
Thank you. After testing, it seems that the issue is not with Teachability. When I set max_turns to 2 or 3, I found that only the last response does not call the is_termination_msg function. If I want the last response of each chat to also call the is_termination_msg function, what should I do? |
I suspect that's not possible because the max_turns condition triggers first. But @ekzhu would know better. |
should both max_turns and is_termination_msg both trigger in this case? |
To be more exact, either condition (max_turns or is_termination_msg) will cause the termination here, so it's just a question of which condition is checked first in the code. |
@kev1nzh37 if the chat is terminated, you will get the messages from the |
Describe the bug
Although the is_termination_msg function is set for the agent in Teachability, it does not actually trigger when called.
Result:
Steps to reproduce
No response
Model Used
No response
Expected Behavior
No response
Screenshots and logs
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: