-
Notifications
You must be signed in to change notification settings - Fork 10
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
Crash: panic: Write called after Handler finished #319
Comments
I think the error indicates we are trying to write after the handler has finished |
jlewi
added a commit
that referenced
this issue
Nov 4, 2024
I think we get this issue (#319) because we check whether the context is cancelled before generating an AI response and then try to return the response. However, in between the initial check and actually having the response to send the context could have been cancelled. So check if the context is done. before sending the response. Fix #319
Here's the most recent stacktrace.
I think this is version.
Which should be the same as this commit This is the line in the panic trace Line 291 in fde802c
|
jlewi
added a commit
that referenced
this issue
Nov 5, 2024
I think we get this issue (#319) because we check whether the context is cancelled before generating an AI response and then try to return the response. However, in between the initial check and actually having the response to send the context could have been cancelled. So check if the context is done. before sending the response. Fix #319
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's the trace.
Using commit
e0d65ed
The text was updated successfully, but these errors were encountered: