-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Stream assistant events as threadStatus #1949
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
base: main
Are you sure you want to change the base?
Stream assistant events as threadStatus #1949
Conversation
cd44fdf
to
2498503
Compare
24fa9c2
to
7358c7b
Compare
break; | ||
} | ||
|
||
case 'assistant_control_data': { | ||
setThreadId(value.threadId); |
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.
how are we setting the thread id now?
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.
It's set here when the event type is thread.run.created
content: '', | ||
data: value.data, |
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.
do we still have the ability to send data? i think it was for custom data
}), | ||
); | ||
}); | ||
|
||
describe('loading state', () => { | ||
it('should show loading state', async () => { |
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.
leave old test to ensure backwards compat?
57f286b
to
37bcd36
Compare
b:<AssistantStreamEvent>
threadStatus