We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
IAsyncEnumerable
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
developers might want to dive deep into the internal process of group chat for observation/early stop/etc..
Provide an IAsyncEnumerable extension API to run group chat step by step.
public static class GroupChatExtension { static IAsyncEnumeable<IMessage> SendAsync(IEnumerable<IMessage>? conversation = null, int maxRound = 10, CancellationToken ct = default); }
IGroupChat group; await foreach (IMessage message in group.SendAsync(chatHistory)) { if (message.From == "xxx") { break; } }
No response
The text was updated successfully, but these errors were encountered:
LittleLittleCloud
Successfully merging a pull request may close this issue.
Is your feature request related to a problem? Please describe.
developers might want to dive deep into the internal process of group chat for observation/early stop/etc..
Describe the solution you'd like
Provide an
IAsyncEnumerable
extension API to run group chat step by step.Example: early stop when the message is from xxx
Additional context
No response
The text was updated successfully, but these errors were encountered: