feat: implement turn-based conversation modalities (addresses #1103)#1119
feat: implement turn-based conversation modalities (addresses #1103)#1119jacyanthis wants to merge 2 commits into
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
|
Hi @jacyanthis, I'm working on running this locally to check it out. In the mean time, it looks like the schemas need to be updated (there's a failing check to this effect). |
|
@jacyanthis What are the steps to test this out manually? Do you start as an Experimenter and make an experiment from scratch? Thanks in advance for step-by-step instructions. |
|
@jimbojw thanks! Schemas are updated. Yes, this is a checkbox in Conversation Settings for the Group Chat stage when editing an experiment.
|
|
@jacyanthis OK thanks, I was able to test locally using simulated human participants. There seems to be a bug at the end of the first turn of conversation. To reproduce:
Expected: After the last participant has entered a message, the first participant should be prompted to continue. Actual: The last participant is prompted a second time. After they enter a second comment, then the conversation rotates back to the first participant. In the following screenshot, you can see that the third active participant, |
|
Note: In my test example, I included only simulated "human" participants, with no mediators. That may be relevant to the bug. |


This adds feature #1103
This is a turn-based mode where each agent sends one message in a cycle. The moderator speaks first, then a random order of participants, then the moderator and a new random order... Participants see their text entry disabled and a "Waiting" banner then a "It's your turn" banner.
There is a checkbox in Conversation Settings for the Group Chat stage.
This PR was heavily assisted with an LLM agent, and it's my first time contributing, so thank you for the review! (maybe @rasmi for API regression? @jimbojw ?) I hope to add a few other related features.