Skip to content

Conversation

@SeseMueller
Copy link

Because I need it for a personal project of mine, I implemented a half-baked streaming implementation for agents.

Currently, no intermeadiate steps are streamed and only the final output is output, but it's a step in the right direction.

It's not very tested, I'm afraid.
I also had to slightly change the signature for the stream method of the Chain trait to accomodate the changes in lifetimes; a stream may now no longer outlive the Chain it is called on because else its memory would be a nightmare to handle.

Starts work on #1.
Starts work on #237.

I'll maybe work on the intermeadiate steps tomorrow.
Feedback and requests welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant