Commit 152daeb
test(genai): add test for
<!--
# Thank you for contributing to LangChain-google!
-->
<!--
## Checklist for PR Creation
- [ ] PR Title: "[package]: [brief description]"
- Where "package" is genai, vertexai, or community
- Use "docs: ..." for purely docs changes, "templates: ..." for template
changes, "infra: ..." for CI changes
- Example: "community: add foobar LLM"
- [ ] PR Description and Relevant issues:
- Description of the change
- Relevant issues (if applicable)
- Any dependencies required for this change
- [ ] Add Tests and Docs:
- If adding a new integration:
1. Include a test for the integration (preferably unit tests that do not
rely on network access)
2. Add an example notebook showing its use (place in the
`docs/docs/integrations` directory)
- [ ] Lint and Test:
- Run `make format`, `make lint`, and `make test` from the root of the
package(s) you've modified
- See contribution guidelines for more:
https://github.com/langchain-ai/langchain-google/blob/main/README.md#contribute-code
-->
<!--
## Additional guidelines
- [ ] PR title and description are appropriate
- [ ] Necessary tests and documentation have been added
- [ ] Lint and tests pass successfully
- [ ] The following additional guidelines are adhered to:
- Optional dependencies are imported within functions
- No unnecessary dependencies added to pyproject.toml files (except
those required for unit tests)
- PR doesn't touch more than one package
- Changes are backwards compatible
-->
## PR Description
<!-- e.g. "Implement user authentication feature" -->
Added a test for PR #822 for parity with the VertexAI transport check
test at
https://github.com/imperorrp/langchain-google/blob/main/libs/vertexai/tests/integration_tests/test_chat_models.py#L788-L803
## Relevant issues
<!-- e.g. "Fixes #000" -->
#791
## Type
<!-- Select the type of Pull Request -->
<!-- Keep only the necessary ones -->
✅ Test
## Testing
<!-- Test procedure -->
<!-- Test result -->

---------
Co-authored-by: Mason Daugherty <[email protected]>ChatGoogleGenerativeAI class transport check (#831)1 parent 7ed36af commit 152daeb
1 file changed
+19
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
833 | 833 | | |
834 | 834 | | |
835 | 835 | | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
| 841 | + | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
| 849 | + | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
836 | 855 | | |
837 | 856 | | |
838 | 857 | | |
| |||
0 commit comments