Skip to content

Commit 3f4abea

Browse files
authored
Merge branch 'main' into openai-callable-key
2 parents 7e91ecb + 5d8b75f commit 3f4abea

File tree

94 files changed

+532
-14504
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+532
-14504
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"langchain": patch
3+
---
4+
5+
fix(langchain): don't allow default or optional context schemas
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"langchain": patch
3+
---
4+
5+
fix(langchain): improved state schema typing

β€Ž.github/codeql/codeql-config.ymlβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,4 @@ paths-ignore:
1919
- "**/*.test.ts"
2020
- "**/tests/**/*.ts"
2121
- "**/__tests__/**/*.ts"
22-
- "/libs/langchain-scripts/**/*.ts"
2322
- "docs/core_docs/scripts/*.js"

β€Ž.github/contributing/INTEGRATIONS.mdβ€Ž

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,6 @@ Above, we have a document loader that we're sure will always require a specific
122122

123123
We highly appreciate documentation and integration tests showing how to set up and use your integration. Providing this will make it much easier for reviewers to verify that your integration works and will streamline the review process.
124124

125-
New docs pages should be added as the appropriate template from here:
126-
127-
https://github.com/langchain-ai/langchainjs/tree/main/libs/langchain-scripts/src/cli/docs/templates
128-
129125
### Linting and formatting
130126

131127
As with all contributions, make sure you run `pnpm lint` and `pnpm format` so that everything conforms to our established style.

β€Ž.github/workflows/check-broken-links.ymlβ€Ž

Lines changed: 0 additions & 25 deletions
This file was deleted.

β€Ž.github/workflows/unit-tests-integrations.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
needs: get-changed-files
4343
runs-on: ubuntu-latest
4444
env:
45-
PACKAGES: "anthropic,aws,azure-cosmosdb,azure-dynamic-sessions,baidu-qianfan,cerebras,cloudflare,cohere,core,community,deepseek,exa,google-cloud-sql-pg,google-common,google-gauth,google-genai,google-vertexai,google-vertexai-web,google-webauth,groq,mcp-adapters,mistralai,mixedbread-ai,mongodb,nomic,ollama,openai,pinecone,qdrant,redis,scripts,standard-tests,tavily,textsplitters,weaviate,xai,yandex"
45+
PACKAGES: "anthropic,aws,azure-cosmosdb,azure-dynamic-sessions,baidu-qianfan,cerebras,cloudflare,cohere,core,community,deepseek,exa,google-cloud-sql-pg,google-common,google-gauth,google-genai,google-vertexai,google-vertexai-web,google-webauth,groq,mcp-adapters,mistralai,mixedbread-ai,mongodb,nomic,ollama,openai,pinecone,qdrant,redis,standard-tests,tavily,textsplitters,weaviate,xai,yandex"
4646
outputs:
4747
matrix: ${{ steps.set-matrix.outputs.matrix }}
4848
matrix_length: ${{ steps.set-matrix.outputs.matrix_length }}
Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
const fs = require("fs");
22

3-
const standardTestsPackageJsonPath = "/app/monorepo/libs/langchain-standard-tests/package.json";
3+
const standardTestsPackageJsonPath =
4+
"/app/monorepo/libs/langchain-standard-tests/package.json";
45

5-
const currentPackageJson = JSON.parse(fs.readFileSync(standardTestsPackageJsonPath));
6+
const currentPackageJson = JSON.parse(
7+
fs.readFileSync(standardTestsPackageJsonPath)
8+
);
69

710
if (currentPackageJson.dependencies["@langchain/core"]) {
811
currentPackageJson.dependencies = {
@@ -11,11 +14,7 @@ if (currentPackageJson.dependencies["@langchain/core"]) {
1114
};
1215
}
1316

14-
if (currentPackageJson.devDependencies["@langchain/scripts"]) {
15-
currentPackageJson.devDependencies = {
16-
...currentPackageJson.devDependencies,
17-
"@langchain/scripts": "*",
18-
};
19-
}
20-
21-
fs.writeFileSync(standardTestsPackageJsonPath, JSON.stringify(currentPackageJson, null, 2));
17+
fs.writeFileSync(
18+
standardTestsPackageJsonPath,
19+
JSON.stringify(currentPackageJson, null, 2)
20+
);

β€Ženvironment_tests/scripts/test-runner.tsβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ const dockerPackages: WorkspacePackage[] = [
3636
pkg: { name: "@langchain/standard-tests" },
3737
path: "/langchain-standard-tests",
3838
},
39-
{ pkg: { name: "@langchain/scripts" }, path: "/langchain-scripts" },
4039
{
4140
pkg: { name: "@langchain/textsplitters" },
4241
path: "/langchain-textsplitters",

β€Žexamples/package.jsonβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
"@langchain/pinecone": "workspace:*",
6262
"@langchain/qdrant": "workspace:*",
6363
"@langchain/redis": "workspace:*",
64-
"@langchain/scripts": ">=0.1.0 <0.2.0",
6564
"@langchain/tavily": "workspace:*",
6665
"@langchain/textsplitters": "workspace:*",
6766
"@langchain/weaviate": "workspace:*",

β€Žexamples/src/langchain-classic/guides/migrating.tsβ€Ž

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
Β (0)