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

Cancel a message delta when we receive "overloaded" error #196

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

brainlid
Copy link
Owner

@brainlid brainlid commented Nov 26, 2024

  • in LLMChain.apply_delta/2, an error tuple can be returned as a delta because that's how it was received.
  • When we receive an error where the server reports "overloaded", cancel the current delta.

Related to issue #193

- in apply_delta, the error can be returned as a delta because that's how it was received
@brainlid brainlid merged commit 454df98 into main Nov 26, 2024
1 check passed
@brainlid brainlid deleted the me-cancel-delta-overloaded branch November 26, 2024 23:13
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