diff --git a/docs/docs/contributing/how_to/integrations/package.mdx b/docs/docs/contributing/how_to/integrations/package.mdx
index 0480ffbd54739..8189ce97f8ba3 100644
--- a/docs/docs/contributing/how_to/integrations/package.mdx
+++ b/docs/docs/contributing/how_to/integrations/package.mdx
@@ -52,7 +52,7 @@ We recommended pinning these to the latest version: \n",
+ "poetry add --group test pytest pytest-socket pytest-asyncio langchain-tests==\n",
"poetry install --with test\n",
"```\n",
" \n",
" \n",
"```bash\n",
- "pip install -U langchain-core pytest pytest-socket langchain-tests\n",
+ "pip install -U langchain-core pytest pytest-socket pytest-asyncio langchain-tests\n",
"\n",
"# install current package in editable mode\n",
"pip install --editable .\n",
@@ -160,10 +170,10 @@
"\n",
"```bash\n",
"# run unit tests without network access\n",
- "poetry run pytest --disable-socket --allow-unix-socket tests/unit_tests\n",
+ "poetry run pytest --disable-socket --allow-unix-socket --asyncio-mode=auto tests/unit_tests\n",
"\n",
"# run integration tests\n",
- "poetry run pytest tests/integration_tests\n",
+ "poetry run pytest --asyncio-mode=auto tests/integration_tests\n",
"```\n",
"\n",
" \n",
@@ -171,10 +181,10 @@
"\n",
"```bash\n",
"# run unit tests without network access\n",
- "pytest --disable-socket --allow-unix-socket tests/unit_tests\n",
+ "pytest --disable-socket --allow-unix-socket --asyncio-mode=auto tests/unit_tests\n",
"\n",
"# run integration tests\n",
- "pytest tests/integration_tests\n",
+ "pytest --asyncio-mode=auto tests/integration_tests\n",
"```\n",
"\n",
" \n",
@@ -300,7 +310,7 @@
"\n",
" @property\n",
" def embedding_model_params(self) -> dict:\n",
- " return {\"model\": \"nest-embed-001\", \"temperature\": 0}"
+ " return {\"model\": \"nest-embed-001\"}"
]
},
{