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

fix: hard-cutting message only when truncate_prompt_error code is received #2067

Merged
merged 3 commits into from
Sep 9, 2024

Conversation

adubovik
Copy link
Contributor

@adubovik adubovik commented Sep 5, 2024

Instead of retrying request on every 400 response, retry it for 400 responses with truncate_prompt_error error code.

@adubovik
Copy link
Contributor Author

adubovik commented Sep 5, 2024

/deploy-review

Environment URL: https://chat-ai-dial-chat-pr-2067.nightly-test.deltixhub.io
E2E tests status: success

@adubovik
Copy link
Contributor Author

adubovik commented Sep 9, 2024

/deploy-review

Environment URL: https://chat-ai-dial-chat-pr-2067.nightly-test.deltixhub.io
E2E tests status: success

@adubovik adubovik merged commit 2b83c38 into development Sep 9, 2024
9 checks passed
@adubovik adubovik deleted the fix/retry-on-truncate-prompt-error branch September 9, 2024 16:17
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