-
Notifications
You must be signed in to change notification settings - Fork 14
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
Streaming Client Result investigation - assistants 2 #49
base: main
Are you sure you want to change the base?
Streaming Client Result investigation - assistants 2 #49
Conversation
PipelineResponse response = message.Response; | ||
try | ||
{ | ||
// TODO: dust this part up... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO
|
||
public async ValueTask<bool> MoveNextAsync() | ||
{ | ||
// TODO: Can we wrap the boilerplate parts of this up into a special SSE base type for this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO
// TODO: Revisit the IDisposable question | ||
public abstract class StreamingClientResult<T> : ClientResult, IAsyncEnumerable<T> | ||
// TODO: Note that constraining the T means the implementation can use | ||
// ModelReaderWriter for deserialization. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: this is an important piece for a generalizable implementation
Building on work by @trrwilson in #26 - primarily for prototyping and leaning