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

Tests for llm apps service #1681

Merged
merged 4 commits into from
May 21, 2024
Merged

Tests for llm apps service #1681

merged 4 commits into from
May 21, 2024

Conversation

aakrem
Copy link
Collaborator

@aakrem aakrem commented May 20, 2024

Added Unit Tests for the llm_apps_service.py :

  • Success, retries, and generic exception cases.

Improved run_with_retry method:

  • Prevented infinite loops.

Copy link

vercel bot commented May 20, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
agenta ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 21, 2024 7:10pm

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label May 20, 2024
Copy link
Member

@mmabrouk mmabrouk left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @aakrem
Please see my comments. I would also add some docstrings to the tests (chagpt generated), that would helpful later to understand when a test fails (without having to read the code), since the names are not very telling

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend size:L This PR changes 100-499 lines, ignoring generated files. tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants