FAILED tests/unit/llms/MistralModel_unit_test.py::test_astream[open-mixtral-8x7b] - TypeError: 'async_generator' object is not iterable
FAILED tests/unit/llms/MistralModel_unit_test.py::test_astream[open-mixtral-8x22b] - TypeError: 'async_generator' object is not iterable
FAILED tests/unit/llms/MistralModel_unit_test.py::test_astream[mistral-small-latest] - TypeError: 'async_generator' object is not iterable
FAILED tests/unit/llms/MistralModel_unit_test.py::test_astream[mistral-medium-latest] - TypeError: 'async_generator' object is not iterable
FAILED tests/unit/llms/MistralModel_unit_test.py::test_astream[mistral-large-latest] - TypeError: 'async_generator' object is not iterable
FAILED tests/unit/llms/MistralModel_unit_test.py::test_astream[open-mistral-nemo] - TypeError: 'async_generator' object is not iterable
FAILED tests/unit/llms/MistralModel_unit_test.py::test_astream[codestral-latest] - TypeError: 'async_generator' object is not iterable
FAILED tests/unit/llms/MistralModel_unit_test.py::test_astream[open-codestral-mamba] - TypeError: 'async_generator' object is not iterable
FAILED tests/unit/llms/MistralToolModel_unit_test.py::test_batch[mistral-small-latest] - mistralai.models.sdkerror.SDKError: API error occurred: Status 400
{"object":"error","message":"Expected last role User or Tool (or Assistant with prefix True) for serving but got assistant","type":"invalid_request_error","param":null,"code":null}
FAILED tests/unit/llms/MistralToolModel_unit_test.py::test_astream[open-mixtral-8x22b] - TypeError: 'async_generator' object is not iterable
FAILED tests/unit/llms/MistralToolModel_unit_test.py::test_astream[mistral-small-latest] - TypeError: 'async_generator' object is not iterable
FAILED tests/unit/llms/MistralToolModel_unit_test.py::test_astream[mistral-large-latest] - TypeError: 'async_generator' object is not iterable
FAILED tests/unit/llms/MistralToolModel_unit_test.py::test_astream[open-mistral-nemo] - TypeError: 'async_generator' object is not iterable
FAILED tests/unit/llms/MistralToolModel_unit_test.py::test_abatch[mistral-small-latest] - mistralai.models.sdkerror.SDKError: API error occurred: Status 400
{"object":"error","message":"Expected last role User or Tool (or Assistant with prefix True) for serving but got assistant","type":"invalid_request_error","param":null,"code":null}
Root Cause
TypeError: 'async_generator' object is not iterable
Test Case
tests/unit/llms/MistralModel_unit_test.py
Pytest Logs
Root Cause
TypeError: 'async_generator' object is not iterable
Potential Solutions
No response
Additional Context (optional)
No response
Type of Test Case
Unit