1
0
mirror of https://github.com/hwchase17/langchain.git synced 2025-05-10 17:46:15 +00:00
langchain/libs/partners/mistralai/tests
Andras L Ferenczi 63673b765b
Fix: Enable max_retries Parameter in ChatMistralAI Class ()
**partners: Enable max_retries in ChatMistralAI**

**Description**

- This pull request reactivates the retry logic in the
completion_with_retry method of the ChatMistralAI class, restoring the
intended functionality of the previously ineffective max_retries
parameter. New unit test that mocks failed/successful retry calls and an
integration test to confirm end-to-end functionality.

**Issue**
- Closes 

**Dependencies**
- No additional dependencies required

Co-authored-by: andrasfe <andrasf94@gmail.com>
2025-03-27 11:53:44 -04:00
..
integration_tests Fix: Enable max_retries Parameter in ChatMistralAI Class () 2025-03-27 11:53:44 -04:00
unit_tests Fix: Enable max_retries Parameter in ChatMistralAI Class () 2025-03-27 11:53:44 -04:00
__init__.py mistralai: Add langchain-mistralai partner package () 2023-12-19 10:34:19 -05:00