Skip to content
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

[bug fix][AIC-py] sort of do exception handling during streaming #860

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

jonathanlastmileai
Copy link
Contributor

@jonathanlastmileai jonathanlastmileai commented Jan 10, 2024

[bug fix][AIC-py] sort of do exception handling during streaming

This piggybacks on the cancellation during stream flow, which works as far as I've tested.
The frontend gets the message.

image

@jonathanlastmileai jonathanlastmileai changed the title wip exception handling [bug fix][AIC-py] sort of do exception handling during streaming Jan 10, 2024
@jonathanlastmileai jonathanlastmileai force-pushed the pr860 branch 2 times, most recently from 20bf3a4 to 5649184 Compare January 10, 2024 18:44
@jonathanlastmileai jonathanlastmileai marked this pull request as ready for review January 10, 2024 18:44
Copy link
Contributor

@saqadri saqadri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please clean this up a bit, otherwise looks good

python/src/aiconfig/editor/server/server.py Outdated Show resolved Hide resolved
python/src/aiconfig/editor/server/server.py Outdated Show resolved Hide resolved
This piggybacks on the cancellation during stream flow, which works as far as I've tested.
The frontend gets the message.

<img width="396" alt="image" src="https://github.com/lastmile-ai/aiconfig/assets/148090348/5e5f603f-4ac3-405e-aead-a3dbfb78d163">
@jonathanlastmileai jonathanlastmileai merged commit a036254 into main Jan 10, 2024
2 checks passed
@jonathanlastmileai jonathanlastmileai deleted the pr860 branch January 10, 2024 19:02
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.

2 participants