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

Unit test test_build_request_body() added #22

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

mulla028
Copy link
Contributor

Closes #21

Description

Unit test for build_request_body() added by mocking expected output and passing arguments to the tested function inside of api/chat_completions.rs

Test gets passed:

image

If you have doubts or questions, feel free to ask!

@theoforger
Copy link
Owner

Looks good! Thanks for the contribution 🙏

@theoforger theoforger merged commit f2d57bf into theoforger:main Nov 13, 2024
3 checks passed
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.

Add test case for build_request_body()
2 participants