mirror of
https://github.com/hwchase17/langchain.git
synced 2026-02-21 06:33:41 +00:00
fix(mistralai): update test (#35270)
This commit is contained in:
@@ -40,7 +40,7 @@ async def test_mistralai_embedding_documents_tenacity_error_async() -> None:
|
||||
documents = ["foo bar", "test document"]
|
||||
embedding = MistralAIEmbeddings(max_retries=0)
|
||||
mock_response = httpx.Response(
|
||||
status_code=400,
|
||||
status_code=429,
|
||||
request=httpx.Request("POST", url=embedding.async_client.base_url),
|
||||
)
|
||||
with (
|
||||
|
||||
Reference in New Issue
Block a user