-
Notifications
You must be signed in to change notification settings - Fork 1
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: openlayer-ai/openlayer-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.2.0-alpha.67
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: openlayer-ai/openlayer-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.2.0-alpha.68
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 3 commits
- 12 files changed
- 2 contributors
Commits on Jul 11, 2025
-
refactor: Implement conditional imports for all integration modules (#…
…480) * feat(tests): add integration tests for conditional imports in modules - Introduced a new test suite to validate that integration modules handle optional dependencies correctly. - Ensured modules can be imported when dependencies are missing and provide helpful error messages. - Verified that all integration modules exist and can be imported when dependencies are available. - Implemented comprehensive checks for availability flags and graceful import handling. - This addition prevents regressions in conditional import handling across all integrations. * feat(tracer): enhance conditional imports and type hinting for Anthropic integration - Implemented conditional import handling for the `anthropic` library, allowing for graceful degradation when the library is not installed. - Added type hints for `anthropic` types using forward references to improve code clarity and maintainability. - Introduced an informative error message when the `anthropic` library is missing, guiding users on how to install it. - This update ensures better compatibility and user experience when working with optional dependencies in the Anthropic integration. * feat(tracer): improve conditional imports and type hinting for OpenAI integration - Implemented conditional import handling for the `openai` library, allowing for graceful degradation when the library is not installed. - Enhanced type hints using forward references for `openai` types to improve code clarity and maintainability. - Introduced informative error messages when the `openai` library is missing, guiding users on how to install it. - This update ensures better compatibility and user experience when working with optional dependencies in the OpenAI integration. * feat(tracer): enhance conditional imports and type hinting for Mistral integration - Implemented conditional import handling for the `mistralai` library, allowing for graceful degradation when the library is not installed. - Improved type hints using forward references for `mistralai` types to enhance code clarity and maintainability. - Introduced an informative error message when the `mistralai` library is missing, guiding users on how to install it. - This update ensures better compatibility and user experience when working with optional dependencies in the Mistral integration. * feat(tracer): enhance conditional imports and type hinting for Groq integration - Implemented conditional import handling for the `groq` library, allowing for graceful degradation when the library is not installed. - Improved type hints using forward references for `groq` types to enhance code clarity and maintainability. - Introduced an informative error message when the `groq` library is missing, guiding users on how to install it. - This update ensures better compatibility and user experience when working with optional dependencies in the Groq integration. * feat(tracer): enhance conditional imports and type hinting for OpenAI integration - Improved conditional import handling for the `openai` library, ensuring graceful degradation when the library is not installed. - Enhanced type hints using forward references for `openai` types to improve code clarity and maintainability. - Added an informative error message when the `openai` library is missing, guiding users on how to install it. - This update ensures better compatibility and user experience when working with optional dependencies in the OpenAI integration. * feat(langchain): enhance conditional imports and type hinting for LangChain integration - Implemented conditional import handling for the `langchain` library, allowing for graceful degradation when the library is not installed. - Improved type hints using forward references for `langchain` types to enhance code clarity and maintainability. - Introduced an informative error message when the `langchain` library is missing, guiding users on how to install it. - This update ensures better compatibility and user experience when working with optional dependencies in the LangChain integration. * fix(tests): improve exception handling in integration test for conditional imports - Enhanced exception handling in the `run_integration_test` function by specifying `FileNotFoundError` and `OSError` in the exception clause, ensuring more precise error management. - This update prevents potential silent failures when attempting to unlink temporary files, improving the robustness of the integration tests for conditional imports.
Configuration menu - View commit details
-
Copy full SHA for e20a448 - Browse repository at this point
Copy the full SHA e20a448View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9db9b1b - Browse repository at this point
Copy the full SHA 9db9b1bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7013a6b - Browse repository at this point
Copy the full SHA 7013a6bView commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.2.0-alpha.67...v0.2.0-alpha.68