v1.1.1 - Documentation & Test Runner Fixes
Fixed
- Documentation Build Issues: Fixed empty sections in Sphinx API reference documentation that were appearing in Read the Docs builds
- Updated
.readthedocs.yamlto properly install thevenice_aipackage during documentation builds - Added missing imports in
src/venice_ai/resources/__init__.pyforApiKeys,AsyncApiKeys,Audio,AsyncAudio,Billing,AsyncBilling,Embeddings,AsyncEmbeddings, andAsyncModels - Added comprehensive type imports in
src/venice_ai/types/__init__.pyfor image, api_keys, audio, embeddings, and billing modules - Added explicit
__all__list tosrc/venice_ai/exceptions.pyfor better module discovery - Fixed missing
ModelTraitListandModelCompatibilityListexports in types package
- Updated
- Test Runner & Coverage: Refactored
test_runner.pyto usepytest-covdirectly, resolving significant code coverage reporting inaccuracies when running tests in parallel withpytest-xdist. - Embedding Tests: Updated
e2e_tests/test_05_embeddings.pywith improved and corrected end-to-end tests for embedding functionalities. - CI Workflow: Modified
.github/workflows/python-publish.yamlto enhance test execution, enabling or optimizing parallel test runs.
This release ensures that the API reference documentation will display complete content and that code coverage is accurately reported.