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

Pytest individual tests fail for llms becuase default db setup is not executed. #1400

Closed
PranavPuranik opened this issue Jun 9, 2024 · 0 comments · Fixed by #1401
Closed

Comments

@PranavPuranik
Copy link
Contributor

🐛 Describe the bug

What -
Clone the repository, install the requirements. Run pytests on individual tests in llm, they will fail.

Why -
This happens because chat history is stored inside a sqlite3 db by default. When running the tests individually, the setup of this db is not executed.

Defination of Done -
No more errors for setup_db while running individual tests.

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 a pull request may close this issue.

1 participant