langchain/libs/community/tests/unit_tests/chat_models
Kyle Cassidy eca8c4bcc6
Standardized openai init params (#21739)
## Patch Summary
community:openai[patch]: standardize init args

## Details
I made changes to the OpenAI Chat API wrapper test in the Langchain
open-source repository

- **File**: `libs/community/tests/unit_tests/chat_models/test_openai.py`
- **Changes**:
  - Updated `max_retries` with Pydantic Field
  - Updated the corresponding unit test
- **Related Issues**: #20085
  - Updated max_retries with Pydantic Field, updated the unit test.

---------

Co-authored-by: JuHyung Son <sonju0427@gmail.com>
2024-05-16 16:30:52 +00:00
..
__init__.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
konko.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
test_anthropic.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
test_azureml_endpoint.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
test_azureopenai.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
test_baichuan.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
test_bedrock.py community[patch]: import flattening fix (#20110) 2024-04-10 13:01:19 -04:00
test_dappier.py community[minor]: Dappier chat model integration (#19370) 2024-03-25 07:29:05 +00:00
test_edenai.py infra: add -p to mkdir in lint steps (#17013) 2024-02-05 11:22:06 -08:00
test_ernie.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
test_fireworks.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
test_friendli.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
test_google_palm.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
test_huggingface.py community[minor]: add hf chat wrapper (#14736) 2023-12-21 12:28:30 -05:00
test_hunyuan.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
test_imports.py community[minor]: add coze chat model (#20770) 2024-04-29 12:26:16 -04:00
test_javelin_ai_gateway.py community[major], core[patch], langchain[patch], experimental[patch]: Create langchain-community (#14463) 2023-12-11 13:53:30 -08:00
test_kinetica.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
test_llama_edge.py patch: remove usage of llm, chat model __call__ (#20788) 2024-04-24 19:39:23 -04:00
test_mlx.py community[minor]: Add support for MLX models (chat & llm) (#18152) 2024-04-09 14:17:07 +00:00
test_openai.py Standardized openai init params (#21739) 2024-05-16 16:30:52 +00:00
test_perplexity.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
test_premai.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
test_tongyi.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
test_yuan2.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00
test_zhipuai.py community[patch]: upgrade to recent version of mypy (#21616) 2024-05-13 14:55:07 -04:00