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

[DRAFT] AAP-25479: Gracefully handle 400 Bad Request from WCA requests #1150

Closed
wants to merge 6 commits into from

Conversation

manstis
Copy link
Contributor

@manstis manstis commented Jun 21, 2024

=== DRAFT ===

https://issues.redhat.com/browse/AAP-25479

This PR just demonstrates an approach to removing the large try.. expect.. block around API calls.

@goneri The proposal being we wrap completion, contentmatch, generation and explanation calls.

@manstis
Copy link
Contributor Author

manstis commented Jun 21, 2024

SonarCloud is complaining about the duplicate code across the refactored files and original ones.

This would be addressed when the commits are merged and the original code deleted.

@manstis
Copy link
Contributor Author

manstis commented Jun 28, 2024

@goneri is refactoring the dirty fix as part of his work.

@manstis manstis closed this Jun 28, 2024
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